samples: add an action to print details for all samples

This commit is contained in:
Yann E. MORIN" 2010-01-03 18:36:07 +01:00
parent 75cb688486
commit 27c1a5fa3f
2 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,7 @@ _ct-ng () {
actions='help menuconfig oldconfig saveconfig
build build. build-all build-all.
list-samples list-steps show-tuple
list-samples list-steps show-tuple show-all
clean distclean wiki-samples updatetools
tarball version'

View File

@ -41,6 +41,10 @@ PHONY += $(patsubst %,show-%,$(CT_SAMPLES))
$(patsubst %,show-%,$(CT_SAMPLES)):
@$(CT_LIB_DIR)/scripts/showSamples.sh -v $(patsubst show-%,%,$(@))
# Prints the details of all samples
PHONY += show-all
show-all: $(patsubst %,show-%,$(CT_SAMPLES))
# print the list of all available samples
PHONY += list-samples
list-samples: FORCE