]> Git Repo - J-u-boot.git/commitdiff
kconfig: fix a bug of "make config"
authorMasahiro Yamada <[email protected]>
Wed, 3 Sep 2014 20:41:34 +0000 (05:41 +0900)
committerTom Rini <[email protected]>
Tue, 16 Sep 2014 16:23:58 +0000 (12:23 -0400)
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 <[email protected]>
Acked-by: Simon Glass <[email protected]>
Makefile

index 62b202fb11efcc766e3ca566e63ee17c47f9afe4..1fccd0b7e209f50f6c82c3324490cd7261469dad 100644 (file)
--- 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 $@
This page took 0.03586 seconds and 4 git commands to generate.