From 16c6cc994fe1325535caa16dab5590c5a4cf2246 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 1 Oct 2008 18:10:40 +0000 Subject: Save the toolchain configuration to its own file, as an auto-extracting shell script: - get rid of the 'extractconfig' action, it was cumbersome to use, and badly documented, - introduce a skeleton for the config script, - update auto-completion, - document the config script. /trunk/kconfig/kconfig.mk | 9 2 7 0 ++------- /trunk/scripts/crosstool.sh | 6 5 1 0 +++++- /trunk/docs/overview.txt | 21 9 12 0 +++++++++------------ /trunk/tools/toolchain-config.in | 8 8 0 0 ++++++++ /trunk/ct-ng.comp | 2 1 1 0 +- 5 files changed, 25 insertions(+), 21 deletions(-) --- kconfig/kconfig.mk | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'kconfig') diff --git a/kconfig/kconfig.mk b/kconfig/kconfig.mk index 4aae7961..be8f61d6 100644 --- a/kconfig/kconfig.mk +++ b/kconfig/kconfig.mk @@ -7,7 +7,7 @@ export PROJECTVERSION=$(CT_VERSION) KCONFIG_TOP = config/config.in obj = $(CT_TOP_DIR)/kconfig -PHONY += clean help oldconfig menuconfig config defoldconfig extractconfig +PHONY += clean help oldconfig menuconfig config defoldconfig # Darwin (MacOS-X) does not have proper libintl support ifeq ($(shell uname -s),Darwin) @@ -114,7 +114,7 @@ $(CT_TOP_DIR)/config.gen/tools.in: $(TOOLS_CONFIG_FILES) echo "endmenu"; \ ) >$@ -config menuconfig oldconfig defoldconfig extractconfig: $(KCONFIG_TOP) +config menuconfig oldconfig defoldconfig: $(KCONFIG_TOP) $(KCONFIG_TOP): @ln -sf $(CT_LIB_DIR)/config config @@ -131,16 +131,11 @@ oldconfig: $(CONFIG_FILES) $(obj)/conf defoldconfig: $(CONFIG_FILES) $(obj)/conf @yes "" |$(obj)/conf -s $(KCONFIG_TOP) -extractconfig: $(CONFIG_FILES) $(obj)/conf - @$(CT_LIB_DIR)/tools/extract-config.sh >.config - @$(obj)/conf -s $(KCONFIG_TOP) - # Help text used by make help help-config:: @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 ' extractconfig - Create a new config using options extracted from a' @echo ' build log piped into stdin' # Cheesy build -- cgit v1.2.3