diff options
author | ngie <ngie@FreeBSD.org> | 2015-05-20 09:36:25 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-05-20 09:36:25 +0000 |
commit | 1d9a80040b8b7b1129a878c74400df1b84c6ef13 (patch) | |
tree | 5ffbc1e092a441a91969e5e3a003dfaa8fda9815 /Makefile.inc1 | |
parent | 979ff1c189a6802d4813bde53db5a20e9c7b7cc5 (diff) | |
download | FreeBSD-src-1d9a80040b8b7b1129a878c74400df1b84c6ef13.zip FreeBSD-src-1d9a80040b8b7b1129a878c74400df1b84c6ef13.tar.gz |
Only build sys/boot/usb/tools if MK_USB != no
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index ba70688..87e2253 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1502,6 +1502,9 @@ _clang_libs= lib/clang _cc= gnu/usr.bin/cc .endif .endif +.if ${MK_USB} != "no" +_usb_tools= sys/boot/usb/tools +.endif cross-tools: .MAKE .for _tool in \ @@ -1512,7 +1515,7 @@ cross-tools: .MAKE ${_cc} \ ${_btxld} \ ${_crunchide} \ - sys/boot/usb/tools + ${_usb_tools} ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \ cd ${.CURDIR}/${_tool} && \ ${MAKE} DIRPRFX=${_tool}/ obj && \ |