config: make makefile builder be a config tool also

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>
This commit is contained in:
Derrick Brashear 2012-10-02 23:42:35 -04:00
parent eae608d99a
commit bb84ed0f56
2 changed files with 3 additions and 2 deletions

View 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 \

View 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