diff options
author | Alexey Neyman <stilor@att.net> | 2017-04-22 23:33:36 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-04-22 23:33:36 -0700 |
commit | c9dad337289153ee70d4ed264cf628f22f6ec2bb (patch) | |
tree | 4aed6b45c9b955047f16cc754a8588af840aca11 /kconfig | |
parent | 105e4b59b7989e9898795273e4064791fdfa056c (diff) | |
download | crosstool-ng-c9dad337289153ee70d4ed264cf628f22f6ec2bb.tar.gz crosstool-ng-c9dad337289153ee70d4ed264cf628f22f6ec2bb.tar.bz2 crosstool-ng-c9dad337289153ee70d4ed264cf628f22f6ec2bb.zip |
Use config from the install location
... no need to create a local symlink.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'kconfig')
-rw-r--r-- | kconfig/kconfig.mk | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/kconfig/kconfig.mk b/kconfig/kconfig.mk index 3d330b48..955ae0bb 100644 --- a/kconfig/kconfig.mk +++ b/kconfig/kconfig.mk @@ -5,10 +5,8 @@ #----------------------------------------------------------- # The configurators rules -configurators = menuconfig nconfig oldconfig savedefconfig defconfig -PHONY += $(configurators) - -$(configurators): config_files +# Top file of crosstool-NG configuration +export KCONFIG_TOP = $(CT_LIB_DIR)/config/config.in export CT_IS_A_BACKEND:=$(CT_IS_A_BACKEND) export CT_BACKEND_ARCH:=$(CT_BACKEND_ARCH) @@ -20,16 +18,19 @@ export CONF := $(CT_LIB_DIR)/kconfig/conf MCONF := $(CT_LIB_DIR)/kconfig/mconf NCONF := $(CT_LIB_DIR)/kconfig/nconf +# Used by conf/mconf/nconf to find the .in files +export srctree=$(CT_LIB_DIR) + menuconfig: - @$(CT_ECHO) " CONF $(KCONFIG_TOP)" + @$(CT_ECHO) " CONF $@" $(SILENT)$(MCONF) $(KCONFIG_TOP) nconfig: - @$(CT_ECHO) " CONF $(KCONFIG_TOP)" + @$(CT_ECHO) " CONF $@" $(SILENT)$(NCONF) $(KCONFIG_TOP) oldconfig: .config - @$(CT_ECHO) " CONF $(KCONFIG_TOP)" + @$(CT_ECHO) " CONF $@" $(SILENT)$(CONF) --silent$@ $(KCONFIG_TOP) savedefconfig: .config |