diff -r 000000000000 -r 89b41dbffe8d samples/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/samples/Makefile Mon May 07 09:04:02 2007 +0000 @@ -0,0 +1,17 @@ +# Build a list of all available samples + +SAMPLES = $(patsubst $(CT_TOP_DIR)/samples/%,%,$(filter-out %Makefile,$(wildcard $(CT_TOP_DIR)/samples/*))) +.PHONY: $(SAMPLES) +$(SAMPLES): + @cp "$(CT_TOP_DIR)/samples/$(@)/crosstool.config" "$(CT_TOP_DIR)/.config" + @$(MAKE) oldconfig + +help:: + @echo 'Preconfigured targets:' + @for s in $(SAMPLES); do \ + echo " $${s}"; \ + done + @echo '' + +saveconfig: + @$(CT_TOP_DIR)/scripts/saveSample.sh