From: Masahiro Yamada Date: Wed, 3 Sep 2014 20:41:34 +0000 (+0900) Subject: kconfig: fix a bug of "make config" X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=f458e3559b4a77b72c2143b6c61e0bfbf07035bc;p=u-boot.git kconfig: fix a bug of "make config" Since 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script), "make config" is not working because of a missing '$' before '(Q)'. Besides, "make config" should be invoked via scripts/multiconfig.sh to avoid a warning message: Kconfig:11:warning: environment variable KCONFIG_OBJDIR undefined Signed-off-by: Masahiro Yamada Acked-by: Simon Glass --- diff --git a/Makefile b/Makefile index 62b202fb11..1fccd0b7e2 100644 --- a/Makefile +++ b/Makefile @@ -458,7 +458,7 @@ KBUILD_DEFCONFIG := sandbox_defconfig export KBUILD_DEFCONFIG KBUILD_KCONFIG config: scripts_basic outputmakefile FORCE - (Q)$(MAKE) $(build)=scripts/kconfig $@ + +$(Q)$(CONFIG_SHELL) $(srctree)/scripts/multiconfig.sh $@ %config: scripts_basic outputmakefile FORCE +$(Q)$(CONFIG_SHELL) $(srctree)/scripts/multiconfig.sh $@