mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Fix building in a separate directory
@ 2006-01-17 15:24 Matthew Wilcox
  0 siblings, 0 replies; only message in thread
From: Matthew Wilcox @ 2006-01-17 15:24 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds, Andrew Morton, Sam Ravnborg


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-17 15:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-17 15:24 [PATCH] Fix building in a separate directory Matthew Wilcox

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®