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 && \
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to