summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2005-09-11 22:32:57 +0200
committerSam Ravnborg <sam@mars.ravnborg.org>2005-09-11 22:32:57 +0200
commit5011cdd01bedd66b314e330a638c97984c71b53d (patch)
tree5c1c8300e9e5e4cddffaba39a4c97710babf78b9 /Makefile
parent5bb78269000cf326bfdfa19f79449c02a9158020 (diff)
kbuild: fix silentoldconfig with make O=
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e90ee6a3eef4..45e5a38fbc7a 100644
--- 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