[PATCH] top-level Makefile patch

Bernhard Fischer rep.nop at aon.at
Mon Mar 6 17:30:33 UTC 2006


On Mon, Mar 06, 2006 at 12:07:08PM -0500, Rob Landley wrote:
>On Monday 06 March 2006 4:14 am, Bernhard Fischer wrote:
>> On Sat, Mar 04, 2006 at 11:39:11PM -0500, Mike Frysinger wrote:
>> >On Saturday 04 March 2006 17:02, Rob Landley wrote:
>> >> What are all these extensions for?  (I know what .o and .a do.  I take
>> >> it the others are all fallout of the shared library thing?)
>> >
>> >the *m stuff is for compiling multiple files at once
>>
>> Well, the .*m* are multi-source, i.e. libbb/xfuncs.c et al which need
>> the -DL_func to compile the individual objects defined therein.
>> .*s* are the files compiled with -fPIC
>
>Why do these not generate .o files?  (They used to.)

It's less complicated to have one rule to catch these multi-source
files. Doing so makes the buildsystem imo less complicated than the
other way round.
>
>Couldn't we break up xfuncs into several different .c files to make that less 

You once preferred the multi-source files over hundreds of small .c
files. Would have to look up your post on this in the archives..

>complicated, rather than make the build system more complicated?

IMO the multi-source files are not an issue at all. Why do you think
they pose a problem?



More information about the busybox mailing list