summaryrefslogtreecommitdiff
path: root/extra/config/Makefile.kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'extra/config/Makefile.kconfig')
-rw-r--r--extra/config/Makefile.kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/config/Makefile.kconfig b/extra/config/Makefile.kconfig
index fa1a7d565..fa8c2dd9c 100644
--- a/extra/config/Makefile.kconfig
+++ b/extra/config/Makefile.kconfig
@@ -4,7 +4,11 @@
PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config
+ifdef KBUILD_KCONFIG
+Kconfig := $(KBUILD_KCONFIG)
+else
Kconfig := arch/$(SRCARCH)/Kconfig
+endif
xconfig: $(obj)/qconf
$< $(Kconfig)