mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>,
	Sam Ravnborg <sam@ravnborg.org>
Subject: [PATCH] Fix building in a separate directory
Date: Tue, 17 Jan 2006 08:24:42 -0700	[thread overview]
Message-ID: <20060117152442.GH19769@parisc-linux.org> (raw)


Without this,
make O=../b180 oldconfig ends:

CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C)
[N/m/y/?] n
make -C /home/willy/linux-2.6 O=/home/willy/b180 .kernelrelease
Makefile:477: .config: No such file or directory

With it, make[2]: `/home/willy/linux-2.6/.kernelrelease' is up to date.
 is the end.

Index: Makefile
===================================================================
RCS file: /var/cvs/linux-2.6/Makefile,v
retrieving revision 1.437
diff -u -p -r1.437 Makefile
--- a/Makefile	17 Jan 2006 14:49:47 -0000	1.437
+++ b/Makefile	17 Jan 2006 15:20:55 -0000
@@ -474,7 +474,7 @@ ifeq ($(dot-config),1)
 # oldconfig if changes are detected.
 -include .kconfig.d
 
-include .config
+include $(KBUILD_OUTPUT)/.config
 
 # If .config needs to be updated, it will be done via the dependency
 # that autoconf has on .config.

                 reply	other threads:[~2006-01-17 15:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20060117152442.GH19769@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=torvalds@osdl.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

all inboxes | Powered by JetHome®