[PATCH] Fix building in a separate directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux