diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2014-03-29 13:15:18 -0500 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2014-04-15 01:30:25 +0200 |
commit | ee905a8161a2cde891c6ce4dffbf99a89806658d (patch) | |
tree | 89d722cf94a7062fdcfd14600bc09c7a5f2f05e2 /src/arch | |
parent | 5405d3fe91ba9f218521c5f0a84561909d37ce5a (diff) | |
download | coreboot-ee905a8161a2cde891c6ce4dffbf99a89806658d.tar.xz |
vendorcode/amd/agesa/fam15tn: Build as a static library
Up until now, we were building AGESA by specifying each AGESA source
file and adding it to the list of romstage and ramstage source files.
As a result, we were compiling each AGESA source twice, despite the
fact that it does not depend on the stage we're in.
Since AGESA is stage-independent, we can build it just once, and use
the resulting static library in both rom and ram stages.
We still keep the practice of specifying every single AGESA directory
as an include dir and adding the AGESA CFLAGS to our global CFLAGS;
this is needed due to the way AGESA builds.
Change-Id: I9b23264129d1c08cb67cabc31d15a68d43ed7624
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/5430
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Idwer Vollering <vidwer@gmail.com>
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions