diff options
author | Brian Behlendorf <[email protected]> | 2008-11-26 14:06:23 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2008-11-26 14:06:23 -0800 |
commit | e833fd4a5c1fc22077c36782070837553f60b258 (patch) | |
tree | ff12e099c95add19fdefe77bec6e89d2c4f54e9c /config/zfs-build.m4 | |
parent | dbceaca71db4d7989acdef950ae23d4c92a55b67 (diff) |
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.
Diffstat (limited to 'config/zfs-build.m4')
-rw-r--r-- | config/zfs-build.m4 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/config/zfs-build.m4 b/config/zfs-build.m4 index 484ce8dd3..badb8b69e 100644 --- a/config/zfs-build.m4 +++ b/config/zfs-build.m4 @@ -13,9 +13,6 @@ AC_DEFUN([ZFS_AC_CONFIG], [ *** in ./config/ with the '--with-zfs-config=CONFIG' option]) fi - AC_MSG_RESULT([$zfsconfig]); - . ./config/$zfsconfig - TOPDIR=`/bin/pwd` BUILDDIR=$ZFS_META_NAME #+$zfsconfig ZFSDIR=$TOPDIR/$BUILDDIR @@ -30,6 +27,13 @@ AC_DEFUN([ZFS_AC_CONFIG], [ AC_SUBST(LIBDIR) AC_SUBST(CMDDIR) AC_SUBST(UNAME) + + AC_MSG_RESULT([$zfsconfig]); + . ./config/$zfsconfig + + AC_SUBST(KERNELMAKE_PARAMS) + AC_SUBST(KERNELCPPFLAGS) + AC_SUBST(HOSTCFLAGS) ]) AC_DEFUN([ZFS_AC_KERNEL], [ |