diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-10-08 21:51:06 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-06 06:17:52 +0000 |
commit | 807e4232f7a1074cf6b80495e365deaecf1db57c (patch) | |
tree | ebb27a3828a568cc358a62bab59df82986457a57 /src/vendorcode/amd | |
parent | f7c64f942864334c0f7e96161f2642b6b06f1034 (diff) | |
download | coreboot-807e4232f7a1074cf6b80495e365deaecf1db57c.tar.gz coreboot-807e4232f7a1074cf6b80495e365deaecf1db57c.tar.bz2 coreboot-807e4232f7a1074cf6b80495e365deaecf1db57c.zip |
AGESA: Run ar with DT
Create libagesa as a thin and deterministic archive file,
this could reduce build time and used space.
Change-Id: Icfd1f3fbf54f7e61ab528fa7686331182959c7d5
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/22068
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/vendorcode/amd')
-rw-r--r-- | src/vendorcode/amd/agesa/f12/Makefile.inc | 2 | ||||
-rw-r--r-- | src/vendorcode/amd/agesa/f14/Makefile.inc | 2 | ||||
-rw-r--r-- | src/vendorcode/amd/agesa/f15tn/Makefile.inc | 2 | ||||
-rw-r--r-- | src/vendorcode/amd/agesa/f16kb/Makefile.inc | 2 | ||||
-rw-r--r-- | src/vendorcode/amd/pi/Makefile.inc | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/vendorcode/amd/agesa/f12/Makefile.inc b/src/vendorcode/amd/agesa/f12/Makefile.inc index ba8427cf5bcf..8cc73a87973a 100644 --- a/src/vendorcode/amd/agesa/f12/Makefile.inc +++ b/src/vendorcode/amd/agesa/f12/Makefile.inc @@ -58,7 +58,7 @@ subdirs-y += $(dir $(shell cd $(dir); find Proc -name Makefile.inc)) $(obj)/libagesa.fam12.a: $$(libagesa-objs) @printf " AGESA $(subst $(obj)/,,$(@))\n" - $(AR_libagesa) rcs $@ $+ + $(AR_libagesa) rcsDT $@ $+ romstage-libs += $(obj)/libagesa.fam12.a ramstage-libs += $(obj)/libagesa.fam12.a diff --git a/src/vendorcode/amd/agesa/f14/Makefile.inc b/src/vendorcode/amd/agesa/f14/Makefile.inc index a7065a637001..2cc3957227ef 100644 --- a/src/vendorcode/amd/agesa/f14/Makefile.inc +++ b/src/vendorcode/amd/agesa/f14/Makefile.inc @@ -59,7 +59,7 @@ subdirs-y += $(dir $(shell cd $(dir); find Proc -name Makefile.inc)) $(obj)/libagesa.fam14.a: $$(libagesa-objs) @printf " AGESA $(subst $(obj)/,,$(@))\n" - $(AR_libagesa) rcs $@ $+ + $(AR_libagesa) rcsDT $@ $+ romstage-libs += $(obj)/libagesa.fam14.a ramstage-libs += $(obj)/libagesa.fam14.a diff --git a/src/vendorcode/amd/agesa/f15tn/Makefile.inc b/src/vendorcode/amd/agesa/f15tn/Makefile.inc index 114be739b7cf..f33c7b8e8877 100644 --- a/src/vendorcode/amd/agesa/f15tn/Makefile.inc +++ b/src/vendorcode/amd/agesa/f15tn/Makefile.inc @@ -63,7 +63,7 @@ subdirs-y += $(dir $(shell cd $(dir); find Proc -name Makefile.inc)) $(obj)/libagesa.fam15tn.a: $$(libagesa-objs) @printf " AGESA $(subst $(obj)/,,$(@))\n" - $(AR_libagesa) rcs $@ $+ + $(AR_libagesa) rcsDT $@ $+ romstage-libs += $(obj)/libagesa.fam15tn.a ramstage-libs += $(obj)/libagesa.fam15tn.a diff --git a/src/vendorcode/amd/agesa/f16kb/Makefile.inc b/src/vendorcode/amd/agesa/f16kb/Makefile.inc index a08b5d72e5b1..11b67edb0e18 100644 --- a/src/vendorcode/amd/agesa/f16kb/Makefile.inc +++ b/src/vendorcode/amd/agesa/f16kb/Makefile.inc @@ -63,7 +63,7 @@ subdirs-y += $(dir $(shell cd $(dir); find Proc -name Makefile.inc)) $(obj)/libagesa.fam16kb.a: $$(libagesa-objs) @printf " AGESA $(subst $(obj)/,,$(@))\n" - $(AR_libagesa) rcs $@ $+ + $(AR_libagesa) rcsDT $@ $+ romstage-libs += $(obj)/libagesa.fam16kb.a ramstage-libs += $(obj)/libagesa.fam16kb.a diff --git a/src/vendorcode/amd/pi/Makefile.inc b/src/vendorcode/amd/pi/Makefile.inc index 491c035f614e..19fd5d09a9f6 100644 --- a/src/vendorcode/amd/pi/Makefile.inc +++ b/src/vendorcode/amd/pi/Makefile.inc @@ -140,7 +140,7 @@ $(foreach file,$(strip $(agesa_src_files)),$(eval $(call create_agesa_cp_templat $(agesa_output_path)/libagesa.a: $(call src-to-obj,libagesa,$(agesa_src_files)) @printf " AGESA $(subst $(obj)/,,$(@))\n" - $(AR_libagesa) rcs $@ $+ + $(AR_libagesa) rcsDT $@ $+ bootblock-libs += $(agesa_output_path)/libagesa.a romstage-libs += $(agesa_output_path)/libagesa.a |