From: Sam Ravnborg <sam@ravnborg.org>
To: mec@shout.net, zippel@linux-m68k.org,
kbuild-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [kbuild] Possibility to sanely link against off-directory .so
Date: Wed, 6 Nov 2002 22:29:52 +0100 [thread overview]
Message-ID: <20021106212952.GB1035@mars.ravnborg.org> (raw)
In-Reply-To: <20021106185230.GD5219@pasky.ji.cz>
On Wed, Nov 06, 2002 at 07:52:30PM +0100, Petr Baudis wrote:
> Hello,
>
> this patch (against 2.5.46) introduces two special variables which make it
> actually possible to have .so as the only product of build in some directory
> and to link something against .so being built in another directory. The
> variable host-cshlib-extra makes it possible to explicitly mention shared
> objects to be built and the variable $(<foo>-linkobjs) allows user to specify
> additional objects to link <foo> against, while not creating any dependencies
> of <foo> on the objects.
>
> The changes are minimal while dramatically extending possibilities for
> messing with the shared objects and they should have no unwanted side-effects,
> and it appears to actually work for me. Please apply.
There is only one user of shared libaries today, thats Kconfig.
And Kconfig is the only user of C++ as well.
There is quite a lot of added complexity in Makefile.lib + Makefile.build
only to support this. Being the one that introduced it, I would like to
see it go away again.
Rationale behind this is that the current added complexity has an penalty
when compiling a kernel, and I would like to move the complexity to
the only user.
Care to try that approach?
Sam
next prev parent reply other threads:[~2002-11-06 21:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-06 18:52 Petr Baudis
2002-11-06 21:29 ` Sam Ravnborg [this message]
2002-11-06 22:03 ` Petr Baudis
2002-11-07 10:00 ` Peter Samuelson
2002-11-07 10:57 ` Roman Zippel
2002-11-07 11:47 ` Peter Samuelson
2002-11-07 12:09 ` Roman Zippel
2002-11-07 12:37 ` Peter Samuelson
2002-11-07 13:04 ` Roman Zippel
2002-11-07 13:22 ` Peter Samuelson
2002-11-07 13:45 ` Roman Zippel
2002-11-07 13:59 ` Peter Samuelson
2002-11-07 15:24 ` Petr Baudis
2002-11-07 16:20 ` [kbuild-devel] " Kenn Humborg
2002-11-07 18:52 ` Peter Samuelson
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=20021106212952.GB1035@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=kbuild-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mec@shout.net \
--cc=zippel@linux-m68k.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®