Commit Graph

3710 Commits

Author SHA1 Message Date
Brian Behlendorf 6187d3100e Update ChangeLog 2009-07-02 13:56:29 -07:00
Brian Behlendorf 147cf2a952 Update zfs-module rependencies to require spl-modules 2009-07-02 13:29:33 -07:00
Brian Behlendorf 43a9ed8954 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-07-02 10:52:15 -07:00
Brian Behlendorf f984d28e0c Cleanly handle --with-linux=NONE and --with-spl=NONE options
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.
2009-07-02 10:44:43 -07:00
Brian Behlendorf b96e995acd Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-07-01 14:42:13 -07:00
Brian Behlendorf 6e50f53cb1 Drop --with-linux and --with-spl options from user build. 2009-07-01 14:35:38 -07:00
Brian Behlendorf bd2e01b87e Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-07-01 12:57:31 -07:00
Brian Behlendorf 01ff9d82d5 Install zfs_config, zfs_unconfig, symbols in to correct location.
Provide a zfs.release file as part of the package.
2009-07-01 12:51:06 -07:00
Brian Behlendorf 255ef81e33 Fix 'make dist' on powerpc64 by include an atomic.S place holder file.
Add EXTRA_DIST atomic.c for powerpc64 to ensure source is packaged.
2009-07-01 12:49:10 -07:00
Brian Behlendorf 63845164a6 Use $(RM) macro to ensure -f is passed.
Preserve path for installed headers with nobase.
2009-07-01 11:31:47 -07:00
Brian Behlendorf 685b7d85d3 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-07-01 11:11:34 -07:00
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 5329f4dffe Merge commit 'refs/remotes/origin/linux-libspl' into HEAD 2009-06-26 14:35:46 -07:00
Brian Behlendorf 4fbded409d Merge commit '0f1012be0aeb6f5f27966c80321db79a9b1aaec3' into zfs-branch 2009-06-26 14:33:53 -07:00
Brian Behlendorf 137276e3c9 Should be powerpc64 not powerpc (powerpc is unsupported) 2009-06-26 14:29:42 -07:00
Brian Behlendorf 672e356372 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-06-09 16:32:47 -07:00
Brian Behlendorf 0f1012be0a Add basic zlib autoconf check for user space build. 2009-06-09 16:09:17 -07:00
Brian Behlendorf 4fd81a15cc Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-06-09 14:47:06 -07:00
Brian Behlendorf 999035eb32 Only powerpc64 is currently supported not powerpc. 2009-06-09 14:20:44 -07:00
Brian Behlendorf e37e28fd82 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-06-08 16:30:09 -07:00
Brian Behlendorf 3f3cebdcda libspl support for conditional SUBDIRs based on target arch 2009-06-08 16:10:12 -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 4eb42caf81 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-06-08 12:23:48 -07:00
Brian Behlendorf 4253416b7d Refresh for consistency with COPYRIGHT 2009-06-08 11:59:13 -07:00
Brian Behlendorf aaba7f070a Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-06-08 11:27:10 -07:00
Brian Behlendorf e8880abb13 Readd accidentally dropped COPYRIGHT, it just references the
OPENSOLARIS.LICENSE but it should still be in place.
2009-06-08 11:01:13 -07:00
Brian Behlendorf 24eb553810 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-05-22 16:38:29 -07:00
Brian Behlendorf e1d6e67473 Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2009-05-22 16:36:23 -07:00
Brian Behlendorf 9c53917bd5 Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-05-22 16:36:23 -07:00
Brian Behlendorf 9c59a63d91 Merge commit 'refs/top-bases/gcc-branch' into gcc-branch 2009-05-22 16:36:22 -07:00
Brian Behlendorf e56aa929e8 Merge branch 'gcc-cast' into refs/top-bases/gcc-branch 2009-05-22 16:36:22 -07:00
Brian Behlendorf 8e9605062a Explictly use signed char for portability. On x86/x86_64
systems the default char type is signed, on ppc/ppc64 systems
the default char type is unsigned.
2009-05-22 16:30:47 -07:00
Brian Behlendorf 2486dd20e5 Set LP64 for powerpc64 and LP32 for just powerpc. 2009-05-22 16:27:59 -07:00
Brian Behlendorf b83a638936 Powerpc64 Compatibility
- Add 64-bit user space atomic support obtained from an old version
  of OpenSolaris which supported ppc.  They are not all 100% fully
  implemented by they are a good first step.
- Add powerpc ISA type.
- Strip out unused ISA defines to prevent any confusion.
2009-05-22 15:00:19 -07:00
Brian Behlendorf 4e8c5549c6 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-05-22 14:56:55 -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 85c5a3e4c6 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-05-22 09:39:09 -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 73c605353b Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-03-20 14:40:10 -07:00
Brian Behlendorf d83c361158 Prep for zfs-0.4.3 tag (Fix spelling) 2009-03-20 14:28:17 -07:00
Brian Behlendorf 19d685e446 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-03-20 14:24:29 -07:00
Brian Behlendorf a7da34e996 Prep for zfs-0.4.3 tag 2009-03-20 14:11:49 -07:00
Brian Behlendorf b28e2714bb Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-03-20 09:33:13 -07:00
Brian Behlendorf f53e5a851d Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-03-20 09:29:22 -07:00
Brian Behlendorf 0c88bc3ccd Merge branch 'feature-branch' into refs/top-bases/zfs-branch 2009-03-20 09:29:21 -07:00
Brian Behlendorf fe77fb7907 Merge commit 'refs/top-bases/feature-branch' into feature-branch 2009-03-20 09:29:17 -07:00
Brian Behlendorf 9476bd93ca Merge branch 'feature-pthreads' into refs/top-bases/feature-branch 2009-03-20 09:29:17 -07:00
Brian Behlendorf 13814fe220 Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads 2009-03-20 09:29:16 -07:00
Brian Behlendorf 99da5f93e8 Fix uninitialized variable error in ztest_dmu_commit_callbacks() 2009-03-20 09:20:49 -07:00
Brian Behlendorf 7e845b6db6 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-03-19 21:32:04 -07:00