diff options
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/Makefile | 4 | ||||
-rw-r--r-- | scripts/kconfig/confdata.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index fa1a7d565903..fa8c2dd9c983 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -4,7 +4,11 @@ | |||
4 | 4 | ||
5 | PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config | 5 | PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config |
6 | 6 | ||
7 | ifdef KBUILD_KCONFIG | ||
8 | Kconfig := $(KBUILD_KCONFIG) | ||
9 | else | ||
7 | Kconfig := arch/$(SRCARCH)/Kconfig | 10 | Kconfig := arch/$(SRCARCH)/Kconfig |
11 | endif | ||
8 | 12 | ||
9 | xconfig: $(obj)/qconf | 13 | xconfig: $(obj)/qconf |
10 | $< $(Kconfig) | 14 | $< $(Kconfig) |
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index b91cf241a539..830d9eae11f9 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c | |||
@@ -852,8 +852,7 @@ void conf_set_all_new_symbols(enum conf_def_mode mode) | |||
852 | 852 | ||
853 | } | 853 | } |
854 | 854 | ||
855 | if (modules_sym) | 855 | sym_clear_all_valid(); |
856 | sym_calc_value(modules_sym); | ||
857 | 856 | ||
858 | if (mode != def_random) | 857 | if (mode != def_random) |
859 | return; | 858 | return; |