yann@63: # Build a list of all available samples yann@63: yann@74: CT_SAMPLES = $(patsubst $(CT_TOP_DIR)/samples/%/crosstool.config,%,$(filter-out %Makefile,$(wildcard $(CT_TOP_DIR)/samples/*/crosstool.config))) yann@63: .PHONY: $(SAMPLES) yann@74: $(CT_SAMPLES): yann@63: @cp "$(CT_TOP_DIR)/samples/$(@)/crosstool.config" "$(CT_TOP_DIR)/.config" yann@63: @$(MAKE) oldconfig yann@63: yann@63: help:: yann@63: @echo 'Preconfigured targets:' yann@74: @$(CT_TOP_DIR)/scripts/showSamples.sh $(CT_SAMPLES) yann@63: @echo '' yann@63: yann@63: saveconfig: yann@63: @$(CT_TOP_DIR)/scripts/saveSample.sh