summaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Add zfs-test package which includes test infrastructure.Brian Behlendorf2009-08-171-15/+54
| | | | | | | | This change extends the existing in-tree test infrastructure such that it can also be run as part of a the installed package. This simplifies testing on multiple systems and is generally all around useful. The scripts may still be run in-tree and will use the in-tree build products as long as .script-config exists.
* Required autoconf support for vdev_disk integration with 2.6.30 kernels.Brian Behlendorf2009-07-297-25/+103
| | | | | | | | | | | | | | | | | | | | | | 2.6.22 API change Unused destroy_dirty_buffers arg removed from prototype. 2.6.24 API change Empty write barriers are now supported and we should use them. 2.6.24 API change Size argument dropped from bio_endio and bi_end_io, because the bi_end_io is only called once now when the request is complete. There is no longer any need for a size argument. This also means that partial IO's are no longer possibe and the end_io callback should not check bi->bi_size. Finally, the return type was updated to void. 2.6.28 API change open/close_bdev_excl() renamed to open/close_bdev_exclusive(). 2.6.29 API change BIO_RW_SYNC renamed to BIO_RW_SYNCIO.
* Remove LINUXINCLUDE from autoconf wrapper, breaks 2.6.28+ kernels.Brian Behlendorf2009-07-271-1/+1
| | | | | | | | | | Modern kernel build systems at least post 2.6.16 will set this properly so we should not. In fact post 2.6.28 the include headers have moved under arch so the guess we make here is completely wrong. Letting the kernel build system set this ensure it will be correct. Also drop the ulimit from the Makefile which, not surprisingly, turns out to be very non-portable. If your expecting failures set the ulimit in your shell before kicking off the test suite.
* Check arch/default/ path when detecting kernel objects on SLESBrian Behlendorf2009-07-241-1/+3
| | | | | We still preferentially use arch/arch looking for a native version but if that fails it is acceptable to use default.
* Cleanly handle --with-linux=NONE and --with-spl=NONE optionsBrian Behlendorf2009-07-021-8/+9
| | | | | | | | when used to generate source rpms. These should not be fatal because we actually don't need them until we build the source rpm. When doing mock build this is important because these dependent rpms will only be installed if they are specificed in the source rpms spec file.
* Distro friendly build system / packaging improvements.Brian Behlendorf2009-07-013-295/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes bring the zfs-0.4.4 tree in to compliance with the spl-0.4.4 packaging changes. The bottom line is 2 source rpms and 4 binary rpms will now be generated when creating packages there will be: zfs-<version>.src.rpm - Fully rebuildable source rpm for libzfs and utils. zfs-modules-<version>.src.rpm - Fully rebuildable source rpm for kernel modules. zfs-<version>.<arch>.rpm - Binary rpm for libzfs and utils. The utils in this package are compatible with all zfs-module rpms of the same version. zfs-devel-<version>.<arch>.rpm - Binary rpm containing headers for building against libzfs libraries. zfs-modules-<verion>-<kernel>.arch.rpm - Binary rpm containing the kernel modules for a specific kernel build. The package name contains the kernel version and you should have one of these packages installed to match every kernel on your system. zfs-modules-devel-<verion>-<kernel>.arch.rpm - Binary rpm containing development header and module symbols needed for building additional kernel modules which are dependent on the zfs module stack. Expect minor interations on these changes as I validate they work properly on CHAOS, RHEL, Fedora, and SLES style distros.
* Add basic zlib autoconf check for user space build.Brian Behlendorf2009-06-092-0/+12
|
* Only powerpc64 is currently supported not powerpc.Brian Behlendorf2009-06-091-2/+2
|
* Core target arch support for conditional compilation of SUBDIRsBrian Behlendorf2009-06-082-0/+22
| | | | which is used by libspl for it's arch specific atomic implementations.
* - Update build system to SPL_META_VERSION not VERSION.Brian Behlendorf2009-05-221-4/+4
| | | | | - ZFS_LINUX_COMPILE_IFELSE drop explicit CC and force the kernel build system to set it this ensure -m64 is set only when appropriate.
* SLES Fixes (Part 1):Brian Behlendorf2009-05-221-8/+15
| | | | | | | | | | | | | - ZFS_AC_KERNEL updated to exclude -obj entries in /usr/src/ when attempting to automatically detect your kernel source. - ZFS_AC_KERNEL check for *-obj directory when attempting to detect the objects for your kernel source. - ZFS_AC_SPL updated to additionally check for Modules.symvers build product. This seems to be specific to SLES system, for Vanilla, Fedora, RHEL, and Chaos kernels the symbol file is just called Module.symvers. - ZFS_CHECK_SYMBOL_EXPORT also should also check the exported SPL symbols in addition to the exported core kernel systems.
* Add NONE option for --with-linux and --with-spl.Brian Behlendorf2009-03-121-14/+14
| | | | | | | This is used when you need to configure the project but you don't actually intend to build it. Thus you don't really need access to either the kernel or spl headers and symbols. At Livermore I use this when I only intend to use the 'make dist' or 'make srpm' target.
* Packaging updateBrian Behlendorf2009-03-121-2/+4
| | | | | Make LINUX_VERSION available to Makefile's, add packaging for user space include headers.
* Remove remaining compiler flags for disabling specific compiler checks.Brian Behlendorf2009-03-122-8/+4
| | | | | | All these errors are now either addressed in a gcc-* topic branch, or in whatever branch the original warning was introduced by (i.e. I fixed the bug which just went unnoticed until now due to the compiler flags)
* Remove --Wno-unused and -Wno-missing braces gcc-* patches have beenBrian Behlendorf2009-03-112-12/+4
| | | | | added to address these issues. Other instances unused variables will be addressed in the topic branch which caused the problem.
* Remove -Wno-parentheses this is handled by the gcc-no-parentheses branch.Brian Behlendorf2009-03-112-2/+2
|
* Remove -Wno-unknown-pragmas compile option, all unknown pragmasBrian Behlendorf2009-03-112-6/+5
| | | | have been removed by the gcc-ident-pragmas topic branch.
* Build system and packaging (RPM support) (Part 2)Brian Behlendorf2009-03-101-0/+11
| | | | Complete support for dist install srpm and rpm make targets.
* Build system and packaging (RPM support) (Part 1)Brian Behlendorf2009-03-101-56/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | An update to the build system to properly support all commonly used Makefile targets these include: make all # Build everything make install # Install everything make clean # Clean up build products make distclean # Clean up everything make dist # Create package tarball make srpm # Create package source RPM make rpm # Create package binary RPMs make tags # Create ctags and etags for everything Extra care was taken to ensure that the source RPMs are fully rebuildable against Fedora/RHEL/Chaos kernels. To build binary RPMs from the source RPM for your system simply run: rpmbuild --rebuild zfs-x.y.z-1.src.rpm This will produce two binary RPMs with correct 'requires' dependencies for your kernel. One will contain all zfs modules and support utilities, the other is a devel package for compiling additional kernel modules which are dependant on the zfs. zfs-x.y.z-1_<kernel version>.x86_64.rpm zfs-devel-x.y.2-1_<kernel version>.x86_64.rpm
* Properly detect and set HAVE_GPL_ONLY_SYMBOLS based on licenseBrian Behlendorf2009-02-032-5/+8
|
* Reference module not modules in SPL for consistencyBrian Behlendorf2009-01-151-2/+2
|
* Quiet warnings for nowBrian Behlendorf2009-01-091-22/+9
|
* Add MODDIR directoryBrian Behlendorf2008-12-231-8/+5
|
* Remove -Wshadow for nowBrian Behlendorf2008-12-181-1/+4
|
* Add DEFAULT_INCLUDE to rules, adjust = to += accordinglyBrian Behlendorf2008-12-161-0/+2
|
* Moving addition configure checks to m4 macrosBrian Behlendorf2008-12-157-0/+87
|
* Use old autoconf stratagyBrian Behlendorf2008-12-152-1/+3
|
* Minor context change to ease mergingBrian Behlendorf2008-12-151-1/+2
|
* Moving all kernel+user configure magic to the correct topic branches where ↵Brian Behlendorf2008-12-151-25/+0
| | | | the features are introduced or needed
* Remove lustre config, we really shouldn't need this. A user space build ↵Brian Behlendorf2008-12-153-9/+6
| | | | -should- be able to contain all the needed APIs. If this is not the case we can reintroduce this.
* Refine MakefilesBrian Behlendorf2008-12-121-3/+2
|
* Remove redundant build optionsBrian Behlendorf2008-12-121-4/+1
|
* Use AM_CFLAGSBrian Behlendorf2008-12-121-9/+9
|
* Add missing include patchBrian Behlendorf2008-12-121-1/+1
|
* Update avl, nvpair, spl to unique build dirsBrian Behlendorf2008-12-113-21/+16
|
* Disable unknown pragmasBrian Behlendorf2008-12-051-1/+1
|
* Add -Wno-unknown-pragmasBrian Behlendorf2008-12-051-0/+1
|
* Update EXTRA_DISTBrian Behlendorf2008-12-051-3/+1
|
* Change libport+libsolcompat references to libsplBrian Behlendorf2008-12-051-3/+0
|
* Refresh zfs-branchBrian Behlendorf2008-12-056-0/+572
|
* Removed build system from master branch, will relocate to linux-zfs-branchBrian Behlendorf2008-12-016-572/+0
|
* Working version of M4 macro configBrian Behlendorf2008-11-264-46/+52
|
* Make everything a M4 macro, it's just cleaner that wayBrian Behlendorf2008-11-265-69/+80
|
* Additional buidl system cleanup. Starting to move allBrian Behlendorf2008-11-262-3/+57
| | | | | | of the kernel specific build info in to config/kernel, likewise and user specific build flags should go in config/user. This seems like a reasonable way to go.
* Prefix META_ALIAS with ZFS_Brian Behlendorf2008-11-262-6/+6
|
* Add SPL prefix to META_* #definesBrian Behlendorf2008-11-261-41/+41
|
* First step of META build system cleanupBrian Behlendorf2008-11-265-29/+118
|
* Minor autoconf build fixes:Brian Behlendorf2008-11-244-7/+7
| | | | | | Fixed BUILDDIR in config/* Added missing " to ZFS_AC_SCRIPT_CONFIG macro Removed autoconf/Makefile
* Restructure autoconf around ./config directoryBrian Behlendorf2008-11-245-0/+412