]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
kbuild: fix silentoldconfig with make O=
authorSam Ravnborg <sam@mars.ravnborg.org>
Sun, 11 Sep 2005 20:32:57 +0000 (22:32 +0200)
committerSam Ravnborg <sam@mars.ravnborg.org>
Sun, 11 Sep 2005 20:32:57 +0000 (22:32 +0200)
Al Viro reported that sometimes silentoldconfig failed because
output directory was missing.
So create it unconditionally before executing conf

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile

index e90ee6a3eef4b3fe0dccb3f0561b3e0688dede8a..45e5a38fbc7aee34f68a852e4a6530609ccc52f2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -491,6 +491,7 @@ include .config
 # If .config is newer than include/linux/autoconf.h, someone tinkered
 # with it and forgot to run make oldconfig
 include/linux/autoconf.h: .config
+       $(Q)mkdir -p include/linux
        $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig
 else
 # Dummy target needed, because used as prerequisite