diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-01 18:10:40 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-01 18:10:40 +0000 |
commit | 16c6cc994fe1325535caa16dab5590c5a4cf2246 (patch) | |
tree | 13eb0c745c1997d1833326ae6d1ab03554b2d8e3 /kconfig/kconfig.mk | |
parent | c7f3478a1056b41fa18101fa3dc4f67aca89fd0d (diff) | |
download | crosstool-ng-16c6cc994fe1325535caa16dab5590c5a4cf2246.tar.gz crosstool-ng-16c6cc994fe1325535caa16dab5590c5a4cf2246.tar.bz2 crosstool-ng-16c6cc994fe1325535caa16dab5590c5a4cf2246.zip |
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(-)
Diffstat (limited to 'kconfig/kconfig.mk')
-rw-r--r-- | kconfig/kconfig.mk | 9 |
1 files changed, 2 insertions, 7 deletions
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 |