diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-07 09:04:02 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-07 09:04:02 +0000 |
commit | 58b4c6d0a44d57b15d7857ecb27711a2224949e9 (patch) | |
tree | a44e1c3fbeac57ff5601b1cbd1400172b3c64bbe /kconfig/Makefile | |
parent | 45e6df196be73e799e220810f9c48f8884d1049c (diff) | |
download | crosstool-ng-58b4c6d0a44d57b15d7857ecb27711a2224949e9.tar.gz crosstool-ng-58b4c6d0a44d57b15d7857ecb27711a2224949e9.tar.bz2 crosstool-ng-58b4c6d0a44d57b15d7857ecb27711a2224949e9.zip |
Merge the save-sample branch to trunk:
- reorder most of the environment setup,
- geting, extracting and patching are now components' sub-actions,
- save the current config as a sample to be used as a pre-configured target.
Diffstat (limited to 'kconfig/Makefile')
-rw-r--r-- | kconfig/Makefile | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/kconfig/Makefile b/kconfig/Makefile index 7167c6f0..ca97748e 100644 --- a/kconfig/Makefile +++ b/kconfig/Makefile @@ -25,24 +25,14 @@ config: $(obj)/conf oldconfig: $(obj)/conf @$< -s $(KCONFIG_TOP) -# 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 text used by make help help:: @echo 'General purpose configuration targets:' @echo ' config - Update current config using a line-oriented program' @echo ' menuconfig - Update current config using a menu based program' @echo ' oldconfig - Update current config using a provided .config as base' - @echo - @echo 'Preconfigured targets:' - @for s in $(SAMPLES); do \ - echo " $${s}"; \ - done + @# saveconfig is listed here for homogeneity, but implemented in samples/Makefile + @echo ' saveconfig - Save current config as a preconfigured target' @echo '' # Cheesy build |