Date: Wed, 30 Mar 2016 18:39:41 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r297427 - head/targets Message-ID: <201603301839.u2UIdf8N054862@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603301839.u2UIdf8N054862>