From: John Levon <movement@marcelothewonderpenguin.com>
To: linux-kernel@vger.kernel.org
Subject: kbuild - building a module/target from multiple directories
Date: Sat, 20 Jul 2002 01:25:21 +0100 [thread overview]
Message-ID: <20020720002521.GA34954@compsoc.man.ac.uk> (raw)
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
next reply other threads:[~2002-07-20 0:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-20 0:25 John Levon [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020720002521.GA34954@compsoc.man.ac.uk \
--to=movement@marcelothewonderpenguin.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®