svn commit: r283140 - head

Garrett Cooper ngie at FreeBSD.org
Wed May 20 09:36:26 UTC 2015


Author: ngie
Date: Wed May 20 09:36:25 2015
New Revision: 283140
URL: https://svnweb.freebsd.org/changeset/base/283140

Log:
  Only build sys/boot/usb/tools if MK_USB != no
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Wed May 20 09:23:37 2015	(r283139)
+++ head/Makefile.inc1	Wed May 20 09:36:25 2015	(r283140)
@@ -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 && \


More information about the svn-src-all mailing list