[coreboot-gerrit] Change in coreboot[master]: vendorcode/amd/pi: Update AGESA_CFLAGS

Martin Roth (Code Review) gerrit at coreboot.org
Fri Jun 30 05:42:53 CEST 2017


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


Change subject: vendorcode/amd/pi: Update AGESA_CFLAGS
......................................................................

vendorcode/amd/pi: Update AGESA_CFLAGS

-Split the existing cflags to a second line to stay under 80 characters
-Add -D__LIBAGESA__ to cflags to enable printk in the binarypi agesa
vendorcode.

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



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/20423/1

diff --git a/src/vendorcode/amd/pi/Makefile.inc b/src/vendorcode/amd/pi/Makefile.inc
index 2e539f8..1f33020 100644
--- a/src/vendorcode/amd/pi/Makefile.inc
+++ b/src/vendorcode/amd/pi/Makefile.inc
@@ -74,7 +74,8 @@
 AGESA_INC += -I$(src)/commonlib/include
 AGESA_INC += -I$(VBOOT_SOURCE)/firmware/include
 
-AGESA_CFLAGS += -march=amdfam10 -mno-3dnow -fno-zero-initialized-in-bss -fno-strict-aliasing
+AGESA_CFLAGS += -march=amdfam10 -mno-3dnow -fno-zero-initialized-in-bss
+AGESA_CFLAGS += -fno-strict-aliasing  -D__LIBAGESA__
 CFLAGS_x86_32 += $(AGESA_CFLAGS)
 CFLAGS_x86_64 += $(AGESA_CFLAGS)
 

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2a64414491130275ba06e5bd76e0b01e450174e8
Gerrit-Change-Number: 20423
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/20170630/0a43e6ee/attachment.html>


More information about the coreboot-gerrit mailing list