]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
config: make makefile builder be a config tool also
authorDerrick Brashear <shadow@your-file-system.com>
Wed, 3 Oct 2012 03:42:35 +0000 (23:42 -0400)
committerDerrick Brashear <shadow@your-file-system.com>
Wed, 3 Oct 2012 04:36:57 +0000 (21:36 -0700)
all of our helper tools should be configured in one place,
so a cross compile can override them

Change-Id: I35044832257fa3389504f79207aa423e39d1ad4a
Reviewed-on: http://gerrit.openafs.org/8198
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Makefile.in
src/config/Makefile.config.in

index f3c71e4a77fb0ca6f43868df04e421e72463524e..44d914ac223c997ed348707039c6055e1142dfd8 100644 (file)
@@ -478,7 +478,7 @@ libafs: config export rfc3961 hcrypto lwp_depinstall \
        libacl_depinstall afs_depinstall dir_depinstall \
        rxstat_depinstall sys_depinstall auth_depinstall \
        rxosdsrc
-       src/config/config src/libafs/MakefileProto.${MKAFS_OSTYPE} src/libafs/Makefile ${SYS_NAME}
+       ${CONFIGTOOL} src/libafs/MakefileProto.${MKAFS_OSTYPE} src/libafs/Makefile ${SYS_NAME}
        +${COMPILE_PART1} libafs ${COMPILE_PART2}
 
 libafs_tree: export lwp_depinstall rx_depinstall vlserver_depinstall tvlserver_depinstall rxkad_depinstall fsint_depinstall \
@@ -495,7 +495,7 @@ libafs_tree: export lwp_depinstall rx_depinstall vlserver_depinstall tvlserver_d
 #
 
 libuafs_setup: config export
-       src/config/config src/libuafs/MakefileProto.${MKAFS_OSTYPE} src/libuafs/Makefile ${SYS_NAME}
+       ${CONFIGTOOL} src/libuafs/MakefileProto.${MKAFS_OSTYPE} src/libuafs/Makefile ${SYS_NAME}
 
 libuafs: libuafs_setup vlserver_depinstall tvlserver_depinstall rx_depinstall fsint_depinstall \
                auth_depinstall dir_depinstall libacl_depinstall rxkad_depinstall \
index 9bc0a14f3f8a59e77ea63f86a093040bdb18fe31..75b63274e97fd7d18521b1e9a7bdd9a5df5c1178 100644 (file)
@@ -145,6 +145,7 @@ KERNELDIR = ../libafs
 # Build helper apps
 #
 COMPILE_ET = ${TOP_OBJDIR}/src/comerr/compile_et
+CONFIGTOOL = ${TOP_OBJDIR}/src/config/config
 RXGEN = ${TOP_OBJDIR}/src/rxgen/rxgen
 SHELL = @SHELL@
 LWPTOOL = ${TOP_SRCDIR}/config/lwptool