svn commit: r297427 - head/targets
Bryan Drewery
bdrewery at FreeBSD.org
Wed Mar 30 18:39:42 UTC 2016
Author: bdrewery
Date: Wed Mar 30 18:39:41 2016
New Revision: 297427
URL: https://svnweb.freebsd.org/changeset/base/297427
Log:
show-valid-targets: Show host targets and also order all of the targets.
Sponsored by: EMC / Isilon Storage Division
Modified:
head/targets/Makefile.xtras
Modified: head/targets/Makefile.xtras
==============================================================================
--- head/targets/Makefile.xtras Wed Mar 30 17:32:14 2016 (r297426)
+++ head/targets/Makefile.xtras Wed Mar 30 18:39:41 2016 (r297427)
@@ -37,10 +37,19 @@ BUILD_TARGETS != cd ${_here} && \
find . \( -name Makefile.depend -o -name ${.MAKE.DEPENDFILE:T} \) | \
sed 's,/Makefile.*,,;s,^./,,' | sort -u
+BUILD_TARGETS_HOST != cd ${_here} && \
+ find . \( -name Makefile.depend.host -o -name ${.MAKE.DEPENDFILE:T}.host \) | \
+ sed 's,/Makefile.*,,;s,^./,,' | sort -u
+
show-valid-targets:
+.if !empty(BUILD_TARGETS_HOST)
+ @echo "Build targets for host (leave out the ${target_dirs:S,${_here:T},,:S,^/,,:S,$,/,}):"
+ @echo "${BUILD_TARGETS_HOST:O:ts\n}"
+ @echo
+.endif
@echo "Build targets for ${MACHINE} (leave out the ${target_dirs:S,${_here:T},,:S,^/,,:S,$,/,}):"
- @echo "${BUILD_TARGETS:ts\n}"
- @echo; echo "Other targets:"; echo "${OTHER_TARGETS:ts\n}"
+ @echo "${BUILD_TARGETS:O:ts\n}"
+ @echo; echo "Other targets:"; echo "${OTHER_TARGETS:O:ts\n}"
.endif
help: show-help
More information about the svn-src-all
mailing list