summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/nvidia/tegra124/lp0/Makefile3
-rw-r--r--src/soc/nvidia/tegra210/lp0/Makefile3
2 files changed, 6 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
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