summaryrefslogtreecommitdiff
path: root/core/cortex-m/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'core/cortex-m/build.mk')
-rw-r--r--core/cortex-m/build.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/cortex-m/build.mk b/core/cortex-m/build.mk
index 410ea028ee..c7be9d685a 100644
--- a/core/cortex-m/build.mk
+++ b/core/cortex-m/build.mk
@@ -6,8 +6,10 @@
# Cortex-M4 core OS files build
#
-# Select ARMv7-m bare-metal toolchain
-$(call set-option,CROSS_COMPILE,$(CROSS_COMPILE_arm),arm-none-eabi-)
+# Use coreboot-sdk
+$(call set-option,CROSS_COMPILE,\
+ $(CROSS_COMPILE_arm),\
+ /opt/coreboot-sdk/bin/arm-eabi-)
# FPU compilation flags
CFLAGS_FPU-$(CONFIG_FPU)=-mfpu=fpv4-sp-d16 -mfloat-abi=hard