bareconfig doesn't work right.

Peter S. Mazinger ps.m at gmx.net
Sat Oct 8 17:11:04 UTC 2005


On Sat, 8 Oct 2005, Bernhard Fischer wrote:

> On Sat, Oct 08, 2005 at 01:18:33PM +0200, Bernhard Fischer wrote:
> 
> I've put the patch here ¹), in case someone is curious. So for the
> "build shared library" patch i will switch all internal libraries which
> are put into libbusybox.so to be built like this. I'm currently thinking
> about keeping all this "build shared library" stuff local only as i think
> that this kind of change should wait until we have 1.1.0 out. What do
> you think?
> 
> ¹) http://members.aon.at/berny_f/busybox/busybox.libs.01.diff

instead of listing all the files you could use

LIBBB_SRC=$(wildcard *.c)

and if some are depending on a feature remove them from the list with

ifneq ($(some-feature),y)
LIBBB_SRC:=$(filter-out some-file.c,$(LIBBB_SRC))
endif

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the busybox mailing list