[Click] Unable to patch e1000 for Linux 2.6.24.7

Adam Greenhalgh a.greenhalgh at cs.ucl.ac.uk
Fri Feb 5 15:50:05 EST 2010


change CFLAGS to EXTRA_CFLAGS in the makefile to fix this.

adam

On 5 February 2010 18:54, Martti Kuparinen <martti.kuparinen at iki.fi> wrote:
> Roman Chertov wrote:
>
>> You cannot patch the e1000 driver  that is bundled with 2.6.24.7.  You
>> have to get a e1000-7.3.20 driver from sourceforge and then patch it.
>
> And what else?
>
> ROOT router:~> uname -srm
> Linux 2.6.24.7 x86_64
>
> ROOT router:~> rm -rf e1000-7.3.20
> ROOT router:~> tar xzf e1000-7.3.20.tar.gz
> ROOT router:~> cd e1000-7.3.20/src
> ROOT router:~/e1000-7.3.20/src> patch -p2 <
> ~/click/drivers/e1000-7.3.20-polling.patch
> patching file Makefile
> patching file e1000.h
> patching file e1000_main.c
> patching file e1000_param.c
> ROOT router:~/e1000-7.3.20/src> make
> make -C /lib/modules/2.6.24.7/build SUBDIRS=/root/e1000-7.3.20/src modules
> make[1]: Entering directory `/root/linux-2.6.24.7'
> scripts/Makefile.build:46: *** CFLAGS was changed in
> "/root/e1000-7.3.20/src/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
> make[1]: *** [_module_/root/e1000-7.3.20/src] Error 2
> make[1]: Leaving directory `/root/linux-2.6.24.7'
> make: *** [default] Error 2
> ROOT router:~/e1000-7.3.20/src>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>



More information about the click mailing list