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@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