diff mbox

[2/2] kbuild: create include/config directory in scripts/kconfig/Makefile

Message ID 1401341583-308-2-git-send-email-yamada.m@jp.panasonic.com (mailing list archive)
State New, archived
Headers show

Commit Message

Masahiro Yamada May 29, 2014, 5:33 a.m. UTC
The directory include/config is used only for
silentoldconfig, localmodconfig, localyesconfig.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---
 Makefile                 | 2 --
 scripts/kconfig/Makefile | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)

Comments

Michal Marek June 9, 2014, 10:21 p.m. UTC | #1
Dne 29.5.2014 07:33, Masahiro Yamada napsal(a):
> The directory include/config is used only for
> silentoldconfig, localmodconfig, localyesconfig.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

I applied this and the previous patch to kbuild.git#kbuild.

Thanks,
Michal

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Makefile b/Makefile
index e3c88f3..2c8db44 100644
--- a/Makefile
+++ b/Makefile
@@ -523,11 +523,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 e57478aa..9c4d241 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 ||			\