diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2017-09-04 17:16:54 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2017-09-05 20:17:30 +0000 |
commit | 251748426fbef6b17184bcf1d888e90090c42588 (patch) | |
tree | 78851227e091414a1f8d45ed7b598dea6a0fdd3f /src/soc/nvidia/tegra124/lp0 | |
parent | e8741fe95461da8836ff3d8af258bed80dcd13b6 (diff) |
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>
Reviewed-on: https://review.coreboot.org/21391
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/soc/nvidia/tegra124/lp0')
-rw-r--r-- | src/soc/nvidia/tegra124/lp0/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/nvidia/tegra124/lp0/Makefile b/src/soc/nvidia/tegra124/lp0/Makefile index a6065bad7b..8864107f6a 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 |