1.1 --- a/kconfig/Makefile Tue May 01 16:32:52 2007 +0000
1.2 +++ b/kconfig/Makefile Tue May 08 17:48:32 2007 +0000
1.3 @@ -25,24 +25,14 @@
1.4 oldconfig: $(obj)/conf
1.5 @$< -s $(KCONFIG_TOP)
1.6
1.7 -# Build a list of all available samples
1.8 -SAMPLES = $(patsubst $(CT_TOP_DIR)/samples/%,%,$(filter-out %Makefile,$(wildcard $(CT_TOP_DIR)/samples/*)))
1.9 -.PHONY: $(SAMPLES)
1.10 -$(SAMPLES):
1.11 - @cp "$(CT_TOP_DIR)/samples/$(@)/crosstool.config" "$(CT_TOP_DIR)/.config"
1.12 - @$(MAKE) oldconfig
1.13 -
1.14 # Help text used by make help
1.15 help::
1.16 @echo 'General purpose configuration targets:'
1.17 @echo ' config - Update current config using a line-oriented program'
1.18 @echo ' menuconfig - Update current config using a menu based program'
1.19 @echo ' oldconfig - Update current config using a provided .config as base'
1.20 - @echo
1.21 - @echo 'Preconfigured targets:'
1.22 - @for s in $(SAMPLES); do \
1.23 - echo " $${s}"; \
1.24 - done
1.25 + @# saveconfig is listed here for homogeneity, but implemented in samples/Makefile
1.26 + @echo ' saveconfig - Save current config as a preconfigured target'
1.27 @echo ''
1.28
1.29 # Cheesy build