summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/kconfig/Makefile b/kconfig/Makefile
index 7167c6f..ca97748 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