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

Arjan van de Ven arjanv at redhat.com
Sun Aug 22 19:18:11 UTC 2004


On Sun, 2004-08-22 at 21:11, Steven Pritchard wrote:
> 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.


it's still broken; it manually tries to find CFLAGS, it really should
use kbuild infrastructure to find those...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040822/5840c6cd/attachment.sig>


More information about the fedora-devel-list mailing list