[coreboot-gerrit] Change in coreboot[master]: nvidia/tegra*: Use xcompile for compiler prefix unless specified

Patrick Georgi (Code Review) gerrit at coreboot.org
Mon Sep 4 17:19:30 CEST 2017


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


Change subject: nvidia/tegra*: Use xcompile for compiler prefix unless specified
......................................................................

nvidia/tegra*: Use xcompile for compiler prefix unless specified

GCC_PREFIX is uncommon in the coreboot tree. If not provided, take data
from .xcompile to fill in the blanks.

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



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/21391/1

diff --git a/src/soc/nvidia/tegra124/lp0/Makefile b/src/soc/nvidia/tegra124/lp0/Makefile
index a6065ba..8864107 100644
--- a/src/soc/nvidia/tegra124/lp0/Makefile
+++ b/src/soc/nvidia/tegra124/lp0/Makefile
@@ -13,6 +13,9 @@
 ##
 ################################################################################
 
+-include ../../../../../.xcompile
+GCC_PREFIX?=$(CROSS_COMPILE_arm)
+
 CC = $(GCC_PREFIX)gcc
 NM = $(GCC_PREFIX)nm
 OBJCOPY = $(GCC_PREFIX)objcopy
diff --git a/src/soc/nvidia/tegra210/lp0/Makefile b/src/soc/nvidia/tegra210/lp0/Makefile
index a6065ba..8864107 100644
--- a/src/soc/nvidia/tegra210/lp0/Makefile
+++ b/src/soc/nvidia/tegra210/lp0/Makefile
@@ -13,6 +13,9 @@
 ##
 ################################################################################
 
+-include ../../../../../.xcompile
+GCC_PREFIX?=$(CROSS_COMPILE_arm)
+
 CC = $(GCC_PREFIX)gcc
 NM = $(GCC_PREFIX)nm
 OBJCOPY = $(GCC_PREFIX)objcopy

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I711a73be9d35d896198664f0ae213218653f275e
Gerrit-Change-Number: 21391
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/20170904/f522e56f/attachment-0001.html>


More information about the coreboot-gerrit mailing list