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 <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-10-14 17:42:59 -04:00
commit fa2e18b294

View file

@ -62,6 +62,9 @@ qemu: $(DOTCONFIG)
initconfig: $(DOTCONFIG)
menuconfig: initconfig
$(Q)$(call zephyrmake,$(O),$@)
# Catch all
%:
$(Q)$(call zephyrmake,$(O),$@)