[PATCH 2/3] kbuild: fix silentoldconfig with make O=

From: Sam Ravnborg
Date: Sun Sep 11 2005 - 16:48:41 EST


Subject: [PATCH 2/3] 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@xxxxxxxxxxxx>

---

Makefile | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

5011cdd01bedd66b314e330a638c97984c71b53d
diff --git a/Makefile b/Makefile
--- 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/