From 251748426fbef6b17184bcf1d888e90090c42588 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 4 Sep 2017 17:16:54 +0200 Subject: nvidia/tegra*: Use xcompile for compiler prefix unless specified MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/21391 Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Julius Werner Reviewed-by: Paul Menzel --- src/soc/nvidia/tegra210/lp0/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/nvidia/tegra210/lp0') diff --git a/src/soc/nvidia/tegra210/lp0/Makefile b/src/soc/nvidia/tegra210/lp0/Makefile index a6065bad7b..8864107f6a 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 -- cgit v1.2.3