Am 13.12.2009 um 09:02 schrieb Andreas Färber:

From: Andreas Färber <afaer...@opensolaris.org>

Juan has donated a cool Makefile infrastructure that enables us to drop
static libraries completely:

Move shared obj-y definitions to Makefile.objs, prefixed common-, hw-, user-.

Link those object files directly.

Replace HWLIB by HWDIR, specifying only the directory.

Drop --whole-archive and ARLIBS in Makefiles and configure.

Drop GENERATED_HEADERS dependency in rules.mak, since this rebuilds all common objects after generating a target-specific header. Add dependency
rules to Makefile and Makefile.target instead.

Patch cancelled. It is superseded by "Drop --whole-archive and static libraries" v2, at top-level. ;)



Reply via email to