coreboot/src/cpu/amd/agesa
Alexandru Gagniuc ee905a8161 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>
2014-04-15 01:30:25 +02:00
..
family10 PCI: Drop includes under cpu 2014-02-12 21:57:11 +01:00
family12 PCI: Drop includes under cpu 2014-02-12 21:57:11 +01:00
family14 PCI: Drop includes under cpu 2014-02-12 21:57:11 +01:00
family15 PCI: Drop includes under cpu 2014-02-12 21:57:11 +01:00
family15tn vendorcode/amd/agesa/fam15tn: Build as a static library 2014-04-15 01:30:25 +02:00
family16kb PCI: Drop includes under cpu 2014-02-12 21:57:11 +01:00
cache_as_ram.inc Correct file permissions. 2013-12-07 00:39:09 +01:00
Kconfig agesa: Always include family* Kconfig 2014-04-12 13:34:36 +02:00
Makefile.inc AMD Kabini: Add CPU AGESA wrapper for new AMD processor family 2013-08-05 18:21:29 +02:00
s3_resume.c cpu/amd/agesa/s3_resume.c: Specify include paths from AGESA_ROOT 2014-04-13 08:25:23 +02:00
s3_resume.h amd/agesa/s3_resume: Make compiler agnostic. 2014-04-03 10:00:52 +02:00