I'm cross posting this message from the Guinness list, it may be helpful to
some of the folks trying to build their kernels on RH 7.

Rob Yale

---------------------------------------------
This is for standard kernels (from www.kernel.org), not for RH kernels in
RPM format.
You must modify /usr/src/linux/Makefile, the line:

     CC   =$(CROSS_COMPILE)whatever...

     MUST be:

     CC   :=$(shell if which $(CROSS_COMPILE)kgcc > /dev/null 2>&1; then
echo $(CROSS_COMPILE)kgcc; else echo $(CROSS_COMPILE)gcc; fi) -D__KERNEL__
-I$(HPATH)

     The [LONG] statement above must be in a single line.
     (THANKS TO CHRIS KLOIBER for pointing me in the right direction!).

     Best regards

     Miguel Dilaj




_______________________________________________
Guinness-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/guinness-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to