From: Sam Ravnborg <sam@ravnborg.org>
To: linux-kernel@vger.kernel.org, Linus Torvalds <torvalds@osdl.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: [RFC] kbuild: Add a binary only .o file to a module
Date: Mon, 1 Mar 2004 23:16:58 +0100 [thread overview]
Message-ID: <20040301221658.GA8187@mars.ravnborg.org> (raw)
In-Reply-To: <20040301214617.GA7777@mars.ravnborg.org>
On Mon, Mar 01, 2004 at 10:46:17PM +0100, Sam Ravnborg wrote:
>
> This can be done in several other ways as already suggested in on lkml.
> But none of them were what I consider 'good enough' - introducing
> some spooky rules etc.
Forget it - I realised this is already supported by kbuild in a nice way.
The _shipped functionality can be used here, so the RTL8180 Makefile
now looks like this:
EXTRA_CFLAGS = -DRTL_IO_MAP
obj-m := rtl8180.o
rtl8180-y += r8180_if.o r8180_pci_init.o usercopy.o
rtl8180-y += priv_part.o
And the binary only .o file is named priv_part.o_shipped.
No added complexity to kbuild - but I need to document this somewhere...
Sam
next prev parent reply other threads:[~2004-03-01 22:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-01 21:46 Sam Ravnborg
2004-03-01 22:16 ` Sam Ravnborg [this message]
2004-03-02 15:21 ` Chris Friesen
2004-03-02 18:31 ` Jeff Garzik
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=20040301221658.GA8187@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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®