diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-01 16:32:52 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-01 16:32:52 +0000 |
commit | 94a79a1186d560beaf870bd761520c839c9d7665 (patch) | |
tree | 46327ddd0bbf570d097fce460cb5ce513eaa81b7 /kconfig/Makefile | |
parent | 115d2cbd075e9a3d1c532f5ff2894d2cbaa57a33 (diff) | |
download | crosstool-ng-94a79a1186d560beaf870bd761520c839c9d7665.tar.gz crosstool-ng-94a79a1186d560beaf870bd761520c839c9d7665.tar.bz2 crosstool-ng-94a79a1186d560beaf870bd761520c839c9d7665.zip |
Remove the superfluous _config suffix to preconfigured targets (in "make help").
Diffstat (limited to 'kconfig/Makefile')
-rw-r--r-- | kconfig/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/kconfig/Makefile b/kconfig/Makefile index 39a28406..7167c6f0 100644 --- a/kconfig/Makefile +++ b/kconfig/Makefile @@ -27,10 +27,9 @@ oldconfig: $(obj)/conf # Build a list of all available samples SAMPLES = $(patsubst $(CT_TOP_DIR)/samples/%,%,$(filter-out %Makefile,$(wildcard $(CT_TOP_DIR)/samples/*))) -SAMPLES_CONFIG = $(patsubst %,%_config,$(SAMPLES)) -.PHONY: $(SAMPLES_CONFIG) -$(SAMPLES_CONFIG): - @cp "$(CT_TOP_DIR)/samples/$(patsubst %_config,%,$@)/crosstool.config" "$(CT_TOP_DIR)/.config" +.PHONY: $(SAMPLES) +$(SAMPLES): + @cp "$(CT_TOP_DIR)/samples/$(@)/crosstool.config" "$(CT_TOP_DIR)/.config" @$(MAKE) oldconfig # Help text used by make help @@ -40,8 +39,8 @@ help:: @echo ' menuconfig - Update current config using a menu based program' @echo ' oldconfig - Update current config using a provided .config as base' @echo - @echo 'Preconfigured configuration targets:' - @for s in $(SAMPLES_CONFIG); do \ + @echo 'Preconfigured targets:' + @for s in $(SAMPLES); do \ echo " $${s}"; \ done @echo '' |