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...
Attachment:
signature.asc
Description: This is a digitally signed message part