Re: How to link a .o file with a .ko module

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

 




On Wed, 13 Dec 2006, kolakalurikrishna.chaitanya@xxxxxxxxx wrote:

hello5.o The problem is I got a new "hello6.o" file. Since I dont have hello6.c file I can't able to compile it hence I have to just add it while loading. I want to include that hello6.o also into my final_module.o module. Is it possible to do so? If possible how can I do? Kindly help me to resolve the problem.

What happens if you do nothing, i.e. just add hello6.o to your final_module-objs line?

If that fails, how about adding an empty make clause for hello6.o, i.e.


hello6.o:


which will tell make that hello6.o has no dependencies.

/Ricadr
--
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30

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