[rawhide social experiments] kernel-source(code) package removed once again ... (was: How to build kernel-sourcecode-2.6.8-1.525)

Steven Pritchard steve at silug.org
Sun Aug 22 19:11:16 UTC 2004


On Sun, Aug 22, 2004 at 08:48:36PM +0200, Arjan van de Ven wrote:
> that's looks like one broken config file (at least for 2.6 kernels)

It is.  That's why my rpm
(https://bugzilla.fedora.us/show_bug.cgi?id=1019) includes the
following patch:

--- Makefile.orig	2003-08-03 13:50:09.000000000 -0500
+++ Makefile	2003-10-30 17:25:32.000000000 -0600
@@ -17,7 +17,9 @@
 CC=gcc
 CFLAGS=-O2 -D__KERNEL__ -DMODULE -Wall -g -c $(EXTRA_CFLAGS)
 
-include $(KERNEL_PATH)/.config
+KERNEL_CONFIG=$(KERNEL_PATH)/.config
+
+include $(KERNEL_CONFIG)
 
 INCLUDES=-I$(KERNEL_PATH)/include
 ifdef PCMCIA_PATH

Then you just need to define KERNEL_* correctly.

I just submitted a similar patch for zaptel (again, last time was in
April of last year).

Broken Makefiles don't change the facts...  The software builds fine
without the rest of the kernel source.

Steve
-- 
Steven Pritchard - K&S Pritchard Enterprises, Inc.
Email: steve at kspei.com             http://www.kspei.com/
Phone: (618)398-7360               Mobile: (618)567-7320





More information about the fedora-devel-list mailing list