1.1 --- a/samples/samples.mk Wed Feb 03 00:24:24 2010 +0100
1.2 +++ b/samples/samples.mk Sun Jul 11 21:36:55 2010 +0200
1.3 @@ -19,19 +19,16 @@
1.4
1.5 help-samples::
1.6 @echo ' list-samples - prints the list of all samples (for scripting)'
1.7 - @echo ' show-<sample> - show a brief overview of <sample> (list below)'
1.8 - @echo ' <sample> - preconfigure crosstool-NG with <sample> (list below)'
1.9 - @echo ' build-all[.#] - Build *all* samples (list below) and install in'
1.10 + @echo ' show-<sample> - show a brief overview of <sample> (list with list-samples)'
1.11 + @echo ' <sample> - preconfigure crosstool-NG with <sample> (list with list-samples)'
1.12 + @echo ' build-all[.#] - Build *all* samples (list with list-samples) and install in'
1.13 @echo ' $${CT_PREFIX} (which you must set)'
1.14 - @echo ' Available samples:'
1.15 - @$(CT_LIB_DIR)/scripts/showSamples.sh $(CT_SAMPLES)
1.16
1.17 help-distrib::
1.18 @echo ' wiki-samples - Print a DokuWiki table of samples'
1.19
1.20 help-env::
1.21 - @echo ' CT_PREFIX - directory in which to auto-install samples'
1.22 - @echo ' (see action "build-all", above).'
1.23 + @echo ' CT_PREFIX=dir - install samples in dir (see action "build-all", above).'
1.24
1.25 # ----------------------------------------------------------
1.26 # This part deals with printing samples information
1.27 @@ -54,7 +51,7 @@
1.28 # print the list of all available samples
1.29 PHONY += list-samples
1.30 list-samples: FORCE
1.31 - @echo $(CT_SAMPLES) |$(sed) -r -e 's/ /\n/g;' |sed -r -e 's/(.*),(.*)/\2 \(host: \1\)/;'
1.32 + $(SILENT)$(CT_LIB_DIR)/scripts/showSamples.sh $(CT_SAMPLES)
1.33
1.34 wiki-samples:
1.35 $(SILENT)$(CT_LIB_DIR)/scripts/showSamples.sh -w $(CT_SAMPLES)