Re: makefile for 2.4 and 2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alaios wrote:

Thx..the prolem is that i need to write device driver
for 2.4 and 2.6 series... If the common makefile does
not exist i am confused having aroung so many
Makefiles...
Can u plz send me a makefile for 2.4 and 2.6 kernel to
check it for a while ...

Have a look at the LWN ( htp://www.lwn.net/ ) 2.6 driver porting series, more specifically the example Makefile.


You'll then need to look at KERNEL_VERSION or similar as part of one of your rules, but Greg has a good point - why do you want to build for both like this anyway OOI?

Cheers,

Jon.


-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux