[coreboot-gerrit] Change in coreboot[master]: vendorcode/amd/pi: Put libagesa build all in libagesa directory

Martin Roth (Code Review) gerrit at coreboot.org
Tue Sep 26 18:26:38 CEST 2017


Martin Roth has uploaded this change for review. ( https://review.coreboot.org/21699


Change subject: vendorcode/amd/pi: Put libagesa build all in libagesa directory
......................................................................

vendorcode/amd/pi: Put libagesa build all in libagesa directory

Half the files were being placed in build/agesa and half in
build/libagesa.

Change-Id: Ied69dafffe2eb3354bd430789e098a1cb1d40551
Signed-off-by: Martin Roth <martinroth at google.com>
---
M src/vendorcode/amd/pi/Makefile.inc
1 file changed, 6 insertions(+), 5 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/21699/1

diff --git a/src/vendorcode/amd/pi/Makefile.inc b/src/vendorcode/amd/pi/Makefile.inc
index 0192faa..c4ab131 100644
--- a/src/vendorcode/amd/pi/Makefile.inc
+++ b/src/vendorcode/amd/pi/Makefile.inc
@@ -141,20 +141,21 @@
 endif
 
 agesa_src_files := $(strip $(sort $(foreach file,$(strip $(agesa_raw_files)),$(call strip_quotes,$(file)))))
-agesa_src_path := $(strip $(obj)/agesa)
+agesa_output_path := $(obj)/libagesa
+agesa_src_path := $(agesa_output_path)
 agesa_dirs := $(sort $(abspath $(dir $(call src-to-obj,libagesa,$(agesa_src_files)))))
 
 additional-dirs += $(agesa_src_path) $(agesa_dirs)
 
 $(foreach file,$(strip $(agesa_src_files)),$(eval $(call create_agesa_cp_template,$(file))))
 
-$(obj)/agesa/libagesa.a: $(call src-to-obj,libagesa,$(agesa_src_files))
+$(agesa_output_path)/libagesa.a: $(call src-to-obj,libagesa,$(agesa_src_files))
 	@printf "    AGESA      $(subst $(obj)/,,$(@))\n"
 	ar rcs $@ $+
 
-bootblock-libs += $(obj)/agesa/libagesa.a
-romstage-libs += $(obj)/agesa/libagesa.a
-ramstage-libs += $(obj)/agesa/libagesa.a
+bootblock-libs += $(agesa_output_path)/libagesa.a
+romstage-libs += $(agesa_output_path)/libagesa.a
+ramstage-libs += $(agesa_output_path)/libagesa.a
 
 #######################################################################
 

-- 
To view, visit https://review.coreboot.org/21699
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ied69dafffe2eb3354bd430789e098a1cb1d40551
Gerrit-Change-Number: 21699
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170926/41bbd529/attachment-0001.html>


More information about the coreboot-gerrit mailing list