On Wed, Sep 29, 2004 at 04:17:17PM +0000, Harshad Toke wrote: > Hi, > I have a kernel module foo.o that needs > to be linked with an existing lib.a. This library > has been already built and should be used > only at the link step of the external module. > I could not find a way to achive this. If > I specify something llike this : > obj-m := foo.o > foo-objs := foo1.c foo2.c lib/lib.a > Then make fails giving an error > ***no rule to make <path>/lib/lib.a > Also tried with foo-y but was not successful. > Any suggestions on how to achive this ?
Rename your file to lib.a_shipped then kbuild should be happy. Sam ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel