show-valid-targets: Show host targets and also order all of the targets.
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
191004d586
commit
506ef4b10b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user