[coreboot-gerrit] Change in coreboot[master]: soc/nvidia/tegra*: force using our headers instead of compiler's/syst...

Patrick Georgi (Code Review) gerrit at coreboot.org
Wed Aug 2 20:05:33 CEST 2017


Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/20860


Change subject: soc/nvidia/tegra*: force using our headers instead of compiler's/system's
......................................................................

soc/nvidia/tegra*: force using our headers instead of compiler's/system's

The code doesn't include much, but when compiled outside the coreboot
build (what the shipped Makefile is made for), we want to make sure that
the few files it includes are controlled by us.

TEST=`cd src/soc/nvidia/tegra124/lp0; make CC=arm-eabi-gcc` works

Change-Id: Ic2f1e4aa4047617b048ef7ef98d71f9d540ccd74
Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
M src/soc/nvidia/tegra124/lp0/Makefile
M src/soc/nvidia/tegra210/lp0/Makefile
2 files changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/20860/1

diff --git a/src/soc/nvidia/tegra124/lp0/Makefile b/src/soc/nvidia/tegra124/lp0/Makefile
index 34e9396..a6065ba 100644
--- a/src/soc/nvidia/tegra124/lp0/Makefile
+++ b/src/soc/nvidia/tegra124/lp0/Makefile
@@ -31,6 +31,7 @@
 tegra_lp0_resume.elf: tegra_lp0_resume.ld tegra_lp0_resume.c
 	$(CC) -marm -march=armv4t -mno-unaligned-access -nostdlib -static \
 		-Os -fpie -Wl,--build-id=none -ggdb3 -T tegra_lp0_resume.ld \
+		-I ../../../../include -I ../../../../arch/arm/include \
 		-o $@ $(filter %.c,$+)
 
 tegra_lp0_resume.fw: tegra_lp0_resume.elf
diff --git a/src/soc/nvidia/tegra210/lp0/Makefile b/src/soc/nvidia/tegra210/lp0/Makefile
index 34e9396..a6065ba 100644
--- a/src/soc/nvidia/tegra210/lp0/Makefile
+++ b/src/soc/nvidia/tegra210/lp0/Makefile
@@ -31,6 +31,7 @@
 tegra_lp0_resume.elf: tegra_lp0_resume.ld tegra_lp0_resume.c
 	$(CC) -marm -march=armv4t -mno-unaligned-access -nostdlib -static \
 		-Os -fpie -Wl,--build-id=none -ggdb3 -T tegra_lp0_resume.ld \
+		-I ../../../../include -I ../../../../arch/arm/include \
 		-o $@ $(filter %.c,$+)
 
 tegra_lp0_resume.fw: tegra_lp0_resume.elf

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic2f1e4aa4047617b048ef7ef98d71f9d540ccd74
Gerrit-Change-Number: 20860
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170802/f567b2ed/attachment.html>


More information about the coreboot-gerrit mailing list