summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-05-29 14:33:03 +0900
committerMichal Marek <mmarek@suse.cz>2014-06-10 00:20:20 +0200
commit9815594a780404810c2a6280de1a268dcfcb0729 (patch)
treea2af2bc0ca17be08bbba0b1aafb23a623d573522
parent356db564fbdfb1aa82f9c1c842947c1e0127d12f (diff)
kbuild: create include/config directory in scripts/kconfig/Makefile
The directory include/config is used only for silentoldconfig, localmodconfig, localyesconfig. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r--Makefile2
-rw-r--r--scripts/kconfig/Makefile4
2 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c126a2f4eb5e..20c3379ac1ec 100644
--- a/Makefile
+++ b/Makefile
@@ -533,11 +533,9 @@ include $(srctree)/arch/$(SRCARCH)/Makefile
export KBUILD_DEFCONFIG KBUILD_KCONFIG
config: scripts_basic outputmakefile FORCE
- $(Q)mkdir -p include/config
$(Q)$(MAKE) $(build)=scripts/kconfig $@
%config: scripts_basic outputmakefile FORCE
- $(Q)mkdir -p include/config
$(Q)$(MAKE) $(build)=scripts/kconfig $@
else
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 844bc9da08da..573ff3f1f533 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -33,11 +33,11 @@ oldconfig: $(obj)/conf
$< --$@ $(Kconfig)
silentoldconfig: $(obj)/conf
- $(Q)mkdir -p include/generated
+ $(Q)mkdir -p include/config include/generated
$< --$@ $(Kconfig)
localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf
- $(Q)mkdir -p include/generated
+ $(Q)mkdir -p include/config include/generated
$(Q)perl $< --$@ $(srctree) $(Kconfig) > .tmp.config
$(Q)if [ -f .config ]; then \
cmp -s .tmp.config .config || \