summaryrefslogtreecommitdiff
path: root/src/vendorcode
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-09-26 10:09:19 -0600
committerKyösti Mälkki <kyosti.malkki@gmail.com>2017-10-19 14:03:51 +0000
commit15cb5be5b0558343de551575feba19ec85deb851 (patch)
tree13f7d5228fcc00f5159bc7401fc21e3c54083016 /src/vendorcode
parente097585fdfa30bb8d7cafaf3ca42b1cbacd11bf0 (diff)
downloadcoreboot-15cb5be5b0558343de551575feba19ec85deb851.tar.xz
src/vendorcode/amd: Use AR variable in Makefiles
Change-Id: I5158f1bcc18eb5b15f310d0cf50fb787c12317c8 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/21700 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/vendorcode')
-rw-r--r--src/vendorcode/amd/agesa/f12/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f14/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f15/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f15tn/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f16kb/Makefile.inc2
-rw-r--r--src/vendorcode/amd/pi/Makefile.inc2
6 files changed, 6 insertions, 6 deletions
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