diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-07-17 21:44:33 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-07-17 21:44:33 +0000 |
commit | d5db172ef497472211ba081b70b2c8aad8ccbd89 (patch) | |
tree | 7841e59e928b43995024aaac3e5f3d66bbc253cd /kconfig/kconfig.mk | |
parent | 3f4ac101f2b4392089e68b9307a7773a97d0ce6d (diff) | |
download | crosstool-ng-d5db172ef497472211ba081b70b2c8aad8ccbd89.tar.gz crosstool-ng-d5db172ef497472211ba081b70b2c8aad8ccbd89.tar.bz2 crosstool-ng-d5db172ef497472211ba081b70b2c8aad8ccbd89.zip |
Revisit the extract-config way of working: ct-ng is the sole entry point to crosstool-NG, and ct-ng.extrac-config no longer exists. You now have to call "ct-ng extractconfig </path/to/your/build.log" instead.
Diffstat (limited to 'kconfig/kconfig.mk')
-rw-r--r-- | kconfig/kconfig.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/kconfig/kconfig.mk b/kconfig/kconfig.mk index 47653744..d812e828 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 +PHONY += clean help oldconfig menuconfig config defoldconfig extractconfig # Darwin (MacOS-X) does not have proper libintl support ifeq ($(shell uname -s),Darwin) @@ -51,7 +51,7 @@ $(CT_TOP_DIR)/config.gen/tools.in:: $(TOOLS_CONFIG_FILES) done >>$@ @echo "endmenu" >>$@ -config menuconfig oldconfig defoldconfig:: $(KCONFIG_TOP) +config menuconfig oldconfig defoldconfig extractconfig:: $(KCONFIG_TOP) $(KCONFIG_TOP): @ln -s $(CT_LIB_DIR)/config config @@ -68,11 +68,17 @@ oldconfig:: $(obj)/conf $(CONFIG_FILES) defoldconfig:: $(obj)/conf $(CONFIG_FILES) @yes "" |$< -s $(KCONFIG_TOP) >/dev/null +extractconfig:: $(obj)/conf $(CONFIG_FILES) + @$(CT_LIB_DIR)/tools/extract-config.sh >.config + @$< -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 |