[LinuxBIOS] [PATCH] v3: reorder rules in mainboard/*/*/Makefile
c-d.hailfinger.devel.2006 at gmx.net
Tue Dec 4 03:42:19 CET 2007
On 29.11.2007 11:23, Stefan Reinauer wrote:
> * Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net> [071128 01:20]:
>> Reorder the rules in mainboard/*/*/Makefile so their order is identical
>> across all of these makefiles. The rules are now in order of execution
>> during boot, that is:
>> As added benefit, mainboard makefiles are now almost identical.
>> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
> While you are at it, could you also change the _OBJ collections to
> gather source files instead?
> In case of initram, the filenames in INITRAM_OBJ are changed on the fly,
> so that's misleading. Generating a list of source files looks clearer,
> and can accordingly replaced when being used
> $(patsubst %.c,$(obj)/%_xip.o,$(INITRAM_SOURCE))
Something similar was necessary anyway in the patch that fixes absolute
calls from initram.
More information about the coreboot