Hello, Adrian Bunk <bunk@xxxxxxxxx> [2006-04-01]: > On Sat, Apr 01, 2006 at 11:16:32AM -0800, Arun Srinivasan wrote: > > > yes.It is possible.I had a Makefile for a situation like this as: > > > > #this builds a module a.o from (a.c and b.c) > > obj-m += a.o > > a-objs := b.o > > export-objs := b.o ##a.o needs some symbol exported by b.o## > > obj-m += b.o > > include $(TOPDIR)/Rules.make > > > > For further reference see http://lwn.net/Articles/21835/ > > What you are writing doesn't make any sense: Well, but it works. obj-m := a.o a-objs := b.o Regards, Bernhard -- Wenn schnell schwimmen besser ist als schnell denken, hätten wir auch Fische bleiben können. -- Albert Wendt -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/