From 15cb5be5b0558343de551575feba19ec85deb851 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 26 Sep 2017 10:09:19 -0600 Subject: src/vendorcode/amd: Use AR variable in Makefiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5158f1bcc18eb5b15f310d0cf50fb787c12317c8 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/21700 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Paul Menzel --- src/vendorcode/amd/agesa/f12/Makefile.inc | 2 +- src/vendorcode/amd/agesa/f14/Makefile.inc | 2 +- src/vendorcode/amd/agesa/f15/Makefile.inc | 2 +- src/vendorcode/amd/agesa/f15tn/Makefile.inc | 2 +- src/vendorcode/amd/agesa/f16kb/Makefile.inc | 2 +- src/vendorcode/amd/pi/Makefile.inc | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/vendorcode/amd/agesa/f12/Makefile.inc b/src/vendorcode/amd/agesa/f12/Makefile.inc index 3445b29af3..ba8427cf5b 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 rcs $@ $+ + $(AR_libagesa) rcs $@ $+ 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 0a1bc07bc4..a7065a6370 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_romstage) rcs $@ $+ + $(AR_libagesa) rcs $@ $+ romstage-libs += $(obj)/libagesa.fam14.a ramstage-libs += $(obj)/libagesa.fam14.a diff --git a/src/vendorcode/amd/agesa/f15/Makefile.inc b/src/vendorcode/amd/agesa/f15/Makefile.inc index 0172621ed4..7a29a81804 100644 --- a/src/vendorcode/amd/agesa/f15/Makefile.inc +++ b/src/vendorcode/amd/agesa/f15/Makefile.inc @@ -49,7 +49,7 @@ subdirs-y += $(dir $(shell cd $(dir); find Proc -name Makefile.inc)) $(obj)/libagesa.fam15.a: $$(libagesa-objs) @printf " AGESA $(subst $(obj)/,,$(@))\n" - ar rcs $@ $+ + $(AR_libagesa) rcs $@ $+ romstage-libs += $(obj)/libagesa.fam15.a ramstage-libs += $(obj)/libagesa.fam15.a diff --git a/src/vendorcode/amd/agesa/f15tn/Makefile.inc b/src/vendorcode/amd/agesa/f15tn/Makefile.inc index c5d1eee30b..114be739b7 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 rcs $@ $+ + $(AR_libagesa) rcs $@ $+ 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 3837d8e93c..a08b5d72e5 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 rcs $@ $+ + $(AR_libagesa) rcs $@ $+ 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 c4ab1318e7..25b4a9fd2a 100644 --- a/src/vendorcode/amd/pi/Makefile.inc +++ b/src/vendorcode/amd/pi/Makefile.inc @@ -151,7 +151,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 rcs $@ $+ + $(AR_libagesa) rcs $@ $+ bootblock-libs += $(agesa_output_path)/libagesa.a romstage-libs += $(agesa_output_path)/libagesa.a -- cgit v1.2.3