mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 2/3] kbuild: fix silentoldconfig with make O=
Date: Sun, 11 Sep 2005 23:50:03 +0200	[thread overview]
Message-ID: <20050911215003.GC2177@mars.ravnborg.org> (raw)
In-Reply-To: <20050911214850.GA2177@mars.ravnborg.org>

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@ravnborg.org>

---

 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

  parent reply	other threads:[~2005-09-11 21:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-11 21:48 [GIT PATCHES] kbuild fixes Sam Ravnborg
2005-09-11 21:49 ` [PATCH 1/3] kbuild: rename prepare to archprepare to fix dependency chain Sam Ravnborg
2005-09-11 21:50 ` Sam Ravnborg [this message]
2005-09-11 21:50 ` [PATCH 3/3] mips: rename offsets.c to asm-offsets.c Sam Ravnborg
2005-09-11 22:04 ` [GIT PATCHES] kbuild fixes Linus Torvalds
2005-09-11 22:07 ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050911215003.GC2177@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome