diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-30 18:39:41 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-30 18:39:41 +0000 |
commit | 506ef4b10b2ccc67dd2bf563a85f318bb50d2b0b (patch) | |
tree | 646edc73bc8488ad799513bcb0862a8f06a5e94c | |
parent | 191004d586d495d2bf122ac2d6653ae640609b5c (diff) | |
download | src-506ef4b10b2ccc67dd2bf563a85f318bb50d2b0b.tar.gz src-506ef4b10b2ccc67dd2bf563a85f318bb50d2b0b.zip |
show-valid-targets: Show host targets and also order all of the targets.
Sponsored by: EMC / Isilon Storage Division
Notes
Notes:
svn path=/head/; revision=297427
-rw-r--r-- | targets/Makefile.xtras | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/targets/Makefile.xtras b/targets/Makefile.xtras index 807cb9a71180..a216f626d6f3 100644 --- a/targets/Makefile.xtras +++ b/targets/Makefile.xtras @@ -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 |