Brian Behlendorf
ef0a712858
Distro friendly build system / packaging improvements.
...
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.
2009-07-01 10:53:05 -07:00
Brian Behlendorf
80cfd98d8e
Refresh autogen products
2009-06-09 16:46:26 -07:00
Brian Behlendorf
169cc37888
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-06-09 16:34:18 -07:00
Brian Behlendorf
0f1012be0a
Add basic zlib autoconf check for user space build.
2009-06-09 16:09:17 -07:00
Brian Behlendorf
ceba65337f
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-06-09 14:48:39 -07:00
Brian Behlendorf
999035eb32
Only powerpc64 is currently supported not powerpc.
2009-06-09 14:20:44 -07:00
Brian Behlendorf
26f70525ee
Refresh autogen products
2009-06-08 16:33:33 -07:00
Brian Behlendorf
296b71a0fd
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-06-08 16:32:16 -07:00
Brian Behlendorf
9c347d872f
Core target arch support for conditional compilation of SUBDIRs
...
which is used by libspl for it's arch specific atomic implementations.
2009-06-08 16:07:43 -07:00
Brian Behlendorf
3b81ef73dc
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-05-22 14:57:19 -07:00
Brian Behlendorf
119a28815f
- Update build system to SPL_META_VERSION not VERSION.
...
- ZFS_LINUX_COMPILE_IFELSE drop explicit CC and force the kernel build
system to set it this ensure -m64 is set only when appropriate.
2009-05-22 14:49:41 -07:00
Brian Behlendorf
920a98e0c0
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-05-22 09:39:33 -07:00
Brian Behlendorf
d855b57b7c
SLES Fixes (Part 1):
...
- 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.
2009-05-22 09:26:36 -07:00
Brian Behlendorf
9141a4f2c8
Refresh autogen products
2009-03-13 09:56:09 -07:00
Brian Behlendorf
7fa1ced508
Refresh autogen products, remove stray zdump Makefile.in
2009-03-12 16:48:12 -07:00
Brian Behlendorf
03c1f6a0c7
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-03-12 16:47:26 -07:00
Brian Behlendorf
f8764e9947
Add NONE option for --with-linux and --with-spl.
...
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.
2009-03-12 16:31:28 -07:00
Brian Behlendorf
0fe418c548
Refresh autogen products
2009-03-12 15:55:23 -07:00
Brian Behlendorf
c856450b52
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-03-12 15:15:45 -07:00
Brian Behlendorf
f2e7d57653
Packaging update
...
Make LINUX_VERSION available to Makefile's, add packaging
for user space include headers.
2009-03-12 15:07:29 -07:00
Brian Behlendorf
36363b2d23
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-03-12 11:05:17 -07:00
Brian Behlendorf
74432ad2fb
Remove remaining compiler flags for disabling specific compiler checks.
...
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)
2009-03-12 10:55:56 -07:00
Brian Behlendorf
4acf3b07c0
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-03-11 22:30:41 -07:00
Brian Behlendorf
031709f9d5
Remove --Wno-unused and -Wno-missing braces gcc-* patches have been
...
added to address these issues. Other instances unused variables will
be addressed in the topic branch which caused the problem.
2009-03-11 22:12:00 -07:00
Brian Behlendorf
3f8174047a
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-03-11 14:13:57 -07:00
Brian Behlendorf
64119ce40d
Remove -Wno-parentheses this is handled by the gcc-no-parentheses branch.
2009-03-11 13:59:34 -07:00
Brian Behlendorf
918d9d1500
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-03-11 13:28:22 -07:00
Brian Behlendorf
4e945fb768
Remove -Wno-unknown-pragmas compile option, all unknown pragmas
...
have been removed by the gcc-ident-pragmas topic branch.
2009-03-11 13:14:08 -07:00
Brian Behlendorf
401cd9e1d4
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-03-10 21:31:09 -07:00
Brian Behlendorf
c8e569dd1c
Build system and packaging (RPM support) (Part 2)
...
Complete support for dist install srpm and rpm make targets.
2009-03-10 21:13:30 -07:00
Brian Behlendorf
e1b736ecc8
Refresh autogen products
2009-03-10 11:42:01 -07:00
Brian Behlendorf
8ca8b0a322
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-03-10 11:30:31 -07:00
Brian Behlendorf
b1b76c6634
Build system and packaging (RPM support) (Part 1)
...
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
2009-03-10 11:10:50 -07:00
Brian Behlendorf
74228d6e93
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-02-03 10:03:50 -08:00
Brian Behlendorf
4365c44425
Properly detect and set HAVE_GPL_ONLY_SYMBOLS based on license
2009-02-03 09:59:54 -08:00
Brian Behlendorf
8d87f5aba5
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-01-15 10:18:25 -08:00
Brian Behlendorf
6932f09bb5
Reference module not modules in SPL for consistency
2009-01-15 10:14:21 -08:00
Brian Behlendorf
9855548496
Refresh autogen products
2009-01-09 11:35:52 -08:00
Brian Behlendorf
1369219816
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-01-09 11:32:53 -08:00
Brian Behlendorf
d7f4512ed3
Quiet warnings for now
2009-01-09 11:29:00 -08:00
Brian Behlendorf
9403f4a605
Refresh autogen products
2008-12-23 12:39:25 -08:00
Brian Behlendorf
2bfda1a2a7
Resolve conflict
2008-12-23 11:45:24 -08:00
Brian Behlendorf
8c549cdfd6
Add MODDIR directory
2008-12-23 11:06:08 -08:00
Brian Behlendorf
d8c0d57440
Refresh autogen products
2008-12-23 10:41:37 -08:00
Brian Behlendorf
3d2e368e7a
Refresh autogen products
2008-12-19 16:12:00 -08:00
Brian Behlendorf
6d2b828309
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-18 14:01:13 -08:00
Brian Behlendorf
fa020b0f7e
Remove -Wshadow for now
2008-12-18 13:57:27 -08:00
Brian Behlendorf
b7374fc81b
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-16 09:06:51 -08:00
Brian Behlendorf
a7b063d224
Add DEFAULT_INCLUDE to rules, adjust = to += accordingly
2008-12-16 08:58:41 -08:00
Brian Behlendorf
bffca6c378
Refresh autogen products
2008-12-15 16:58:02 -08:00
Brian Behlendorf
f254643f57
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-15 16:56:51 -08:00
Brian Behlendorf
cc420402bf
Moving addition configure checks to m4 macros
2008-12-15 16:46:34 -08:00
Brian Behlendorf
2e69c05001
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-15 16:38:21 -08:00
Brian Behlendorf
2712912cb8
Use old autoconf stratagy
2008-12-15 16:27:22 -08:00
Brian Behlendorf
aa4c3302a6
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-15 10:58:25 -08:00
Brian Behlendorf
3ae13f718f
Resolve conflict
2008-12-15 10:57:47 -08:00
Brian Behlendorf
06418073d4
Move libefi check to libefi topic branch
2008-12-15 10:54:53 -08:00
Brian Behlendorf
1c35db0797
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-15 10:52:02 -08:00
Brian Behlendorf
d43dd792fe
Fixing user config
2008-12-15 10:50:06 -08:00
Brian Behlendorf
ed58bb59e7
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-15 10:47:31 -08:00
Brian Behlendorf
ce1541961c
Resolve context
2008-12-15 10:47:24 -08:00
Brian Behlendorf
ae9906f48d
Context fix
2008-12-15 10:44:33 -08:00
Brian Behlendorf
574e2cec0d
Minor context change to ease merging
2008-12-15 10:41:15 -08:00
Brian Behlendorf
2bdf9cfae3
Moving all kernel+user configure magic to the correct topic branches where the features are introduced or needed
2008-12-15 10:40:22 -08:00
Brian Behlendorf
a5a216a1de
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-15 10:36:31 -08:00
Brian Behlendorf
e46c8e90ef
config/user.m4
2008-12-15 10:34:33 -08:00
Brian Behlendorf
e859b8f5f2
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-15 10:31:44 -08:00
Brian Behlendorf
e631cff898
Remove lustre config, we really shouldn't need this. A user space build -should- be able to contain all the needed APIs. If this is not the case we can reintroduce this.
2008-12-15 10:28:14 -08:00
Brian Behlendorf
12e7b2afab
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-12 11:00:10 -08:00
Brian Behlendorf
9fbc572a59
Refine Makefiles
2008-12-12 10:57:05 -08:00
Brian Behlendorf
1aa5fd7397
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-12 10:30:39 -08:00
Brian Behlendorf
f429331a49
Remove redundant build options
2008-12-12 10:27:10 -08:00
Brian Behlendorf
e445fb804f
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-12 10:19:02 -08:00
Brian Behlendorf
2d5777f9a7
Use AM_CFLAGS
2008-12-12 10:15:59 -08:00
Brian Behlendorf
9d9b8827d0
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-12 10:13:21 -08:00
Brian Behlendorf
6d78e69193
Add missing include patch
2008-12-12 10:10:16 -08:00
Brian Behlendorf
3b4adb0abd
Add all autogen products
2008-12-12 09:25:06 -08:00
Brian Behlendorf
f3dd8353de
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-11 14:07:16 -08:00
Brian Behlendorf
98ce19f04c
Update avl, nvpair, spl to unique build dirs
2008-12-11 13:54:57 -08:00
Brian Behlendorf
fa554de5ee
Add missing autogen.sh products
2008-12-08 10:04:13 -08:00
Brian Behlendorf
11e6d11be9
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-05 17:07:13 -08:00
Brian Behlendorf
5b29fa2d78
Disable unknown pragmas
2008-12-05 16:53:29 -08:00
Brian Behlendorf
bb02a677f9
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-05 15:06:34 -08:00
Brian Behlendorf
644386044b
Add -Wno-unknown-pragmas
2008-12-05 15:03:48 -08:00
Brian Behlendorf
f7c273cbda
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-05 14:59:00 -08:00
Brian Behlendorf
9405542384
Update EXTRA_DIST
2008-12-05 14:56:15 -08:00
Brian Behlendorf
4da8db08b4
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2008-12-05 14:23:08 -08:00
Brian Behlendorf
18266508c7
Change libport+libsolcompat references to libspl
2008-12-05 14:20:33 -08:00
Brian Behlendorf
2e7aab6f82
Refresh autogen.sh products
2008-12-05 12:56:38 -08:00
Brian Behlendorf
9baaa468ac
Refresh zfs-branch
2008-12-05 09:46:11 -08:00
Brian Behlendorf
42baae9615
Removed build system from master branch, will relocate to linux-zfs-branch
2008-12-01 15:38:41 -08:00
Brian Behlendorf
62b749c8c8
Working version of M4 macro config
2008-11-26 15:32:39 -08:00
Brian Behlendorf
f0e648ca02
Make everything a M4 macro, it's just cleaner that way
2008-11-26 14:29:45 -08:00
Brian Behlendorf
e833fd4a5c
Additional buidl system cleanup. Starting to move all
...
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.
2008-11-26 14:06:23 -08:00
Brian Behlendorf
dbceaca71d
Prefix META_ALIAS with ZFS_
2008-11-26 13:28:44 -08:00
Brian Behlendorf
cb9c044bf6
Add SPL prefix to META_* #defines
2008-11-26 13:11:33 -08:00
Brian Behlendorf
c9a9137956
First step of META build system cleanup
2008-11-26 12:53:24 -08:00
Brian Behlendorf
536640fe29
Minor autoconf build fixes:
...
Fixed BUILDDIR in config/*
Added missing " to ZFS_AC_SCRIPT_CONFIG macro
Removed autoconf/Makefile
2008-11-24 11:56:48 -08:00
Brian Behlendorf
a54f863a14
Restructure autoconf around ./config directory
2008-11-24 11:16:19 -08:00