All of lore.kernel.org
 help / color / mirror / Atom feed
* kbuild - building a module/target from multiple directories
@ 2002-07-20  0:25 John Levon
  2002-07-20  0:46 ` Thunder from the hill
  2002-07-20  1:23 ` Kai Germaschewski
  0 siblings, 2 replies; 9+ messages in thread
From: John Levon @ 2002-07-20  0:25 UTC (permalink / raw)
  To: linux-kernel


With kbuild in 2.5, how do I specify that a module/target is to be built of
object files and sub-directories ?

The "obvious" approach :

obj-$(CONFIG_BLAH) := blah.o

blah-objs := blah_init.o blahstuff/

doesn't work. Is there an example of a module doing this ?

findall Makefile | xargs grep '+=' | grep -- -objs | awk -F: '{print $2}' | grep /
isn't promising ...

I'd like to avoid the awkwardness of multiple modules and the
unpleasantness of too many files in a single directory

thanks
john

-- 
"Of all manifestations of power, restraint impresses the most."
	- Thucydides

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-07-24 14:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-20  0:25 kbuild - building a module/target from multiple directories John Levon
2002-07-20  0:46 ` Thunder from the hill
2002-07-20  1:22   ` John Levon
2002-07-20  1:48     ` Thunder from the hill
2002-07-20  1:23 ` Kai Germaschewski
2002-07-20  1:52   ` John Levon
2002-07-20  2:09     ` Kai Germaschewski
2002-07-24 13:21   ` David Woodhouse
2002-07-24 14:24     ` Kai Germaschewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.