Hi, This patch allows for user-defined extra local tools directories, a la what LOCAL_DIRS does for adding local build directories to the source. This is needed for cross-compiling as some local tools may need to be first built. I've used this successfully to cross-compile my busybox stuff. Thanks, Adrian -- [adrian_at_pcbsd-macvm] ~/work/freebsd/head/src> svn diff Makefile.inc1 Index: Makefile.inc1 =================================================================== --- Makefile.inc1 (revision 228757) +++ Makefile.inc1 (working copy) _at__at_ -15,6 +15,8 _at__at_ # -DNO_WWWUPDATE do not update www in ${MAKE} update # -DNO_CTF do not run the DTrace CTF conversion tools on built objects # LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list +# LOCAL_TOOL_DIRS="list of dirs" to add additional dirs to the build-tools +# list # TARGET="machine" to crossbuild world for a different machine type # TARGET_ARCH= may be required when a TARGET supports multiple endians _at__at_ -104,6 +106,8 _at__at_ CLEANDIR= cleandir .endif +LOCAL_TOOL_DIRS?= '' + CVS?= cvs CVSFLAGS?= -A -P -d -I! SVN?= svn _at__at_ -1102,6 +1106,7 _at__at_ bin/csh \ bin/sh \ ${_rescue} \ + ${LOCAL_TOOL_DIRS} \ lib/ncurses/ncurses \ lib/ncurses/ncursesw \ ${_share} \Received on Fri Dec 23 2011 - 21:05:51 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:22 UTC