Makefile modification from 2.4 to 2.6

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

 



Hi all,
I've developed an LKM for kernel 2.4 and now I'm porting it in 2.6.
The Makefile contains the following lines:

${OBJ}: ${TARGET1}.o ${TARGET2}.o ${TARGET3}.o ${TARGET4}.o
 $(LD) -r $^ -o $@

${TARGET4}.o: ${TARGET4}.h

${TARGET4}.h: ${PERLSYMBOLS} ${SYSTEMMAP}
 ${PERLSYMBOLS} ${SYSTEMMAP}

the goal of these lines is to compile the header file ${TARGET4}.h before 
compile the object file ${TARGET4}.o
In 2.6, it doesn't work. How can I do this?
Thanks.
Vincenzo Mallozzi.

		
___________________________________ 
Yahoo! Messenger: chiamate gratuite in tutto il mondo 
http://it.messenger.yahoo.com


--
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