diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2005-09-11 16:32:57 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2005-09-11 16:32:57 -0400 |
commit | 5011cdd01bedd66b314e330a638c97984c71b53d (patch) | |
tree | 5c1c8300e9e5e4cddffaba39a4c97710babf78b9 | |
parent | 5bb78269000cf326bfdfa19f79449c02a9158020 (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>
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -491,6 +491,7 @@ include .config | |||
491 | # If .config is newer than include/linux/autoconf.h, someone tinkered | 491 | # If .config is newer than include/linux/autoconf.h, someone tinkered |
492 | # with it and forgot to run make oldconfig | 492 | # with it and forgot to run make oldconfig |
493 | include/linux/autoconf.h: .config | 493 | include/linux/autoconf.h: .config |
494 | $(Q)mkdir -p include/linux | ||
494 | $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig | 495 | $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig |
495 | else | 496 | else |
496 | # Dummy target needed, because used as prerequisite | 497 | # Dummy target needed, because used as prerequisite |