  1 file changed, 35 insertions(+)
 
 diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
-index d9b1fef..e6311ed 100644
+index 8c12c20c55a6..88c618b34915 100644
 --- a/scripts/kconfig/Makefile
 +++ b/scripts/kconfig/Makefile
-@@ -62,1 +62,36 @@ else
+@@ -27,1 +27,36 @@ gconfig: $(obj)/gconf
 +PHONY += scriptconfig iscriptconfig kconfiglibtestconfig
 +
 +ifneq ($(filter scriptconfig iscriptconfig,$(MAKECMDGOALS)),)

+
 menuconfig: $(obj)/mconf
-- 
2.1.4


+	$(Q)PYTHONPATH="$(srctree)/Kconfiglib:$$PYTHONPATH" "$(PYTHONCMD)" -i -c \
+	  "import kconfiglib; \
+	   import sys; \
+	   c = kconfiglib.Kconfig(sys.argv[4 if \"$(PYTHONCMD)\".startswith(\"ipython\") else 1]); \
+	   print(\"A Kconfig instance 'c' for the architecture $(ARCH) has been created.\")" \
+	  $(srctree)/$(Kconfig)
+
+# Used by testsuite.py to be able to compare output for nonsensical
