From fa2e18b294534020619c01fabc30bb048aed3360 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 14 Oct 2015 17:42:59 -0400 Subject: [PATCH] kbuild: make menuconfig work with local configuration Calling 'make menuconfig' from an application will prepare the configuration defined in the application (Makefile) and will launch menuconfig with the correct configuration rather than the default for the architecture. Change-Id: I6c611ddaa23b67632c507291294a73b6c4283cea Signed-off-by: Anas Nashif --- Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.inc b/Makefile.inc index c5ec5042860..2adb4e11544 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -62,6 +62,9 @@ qemu: $(DOTCONFIG) initconfig: $(DOTCONFIG) +menuconfig: initconfig + $(Q)$(call zephyrmake,$(O),$@) + # Catch all %: $(Q)$(call zephyrmake,$(O),$@)