From a66c36ee98fc109dc2abb4c1fcc8947dd267fcc0 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 2 Feb 2019 09:46:51 +0100 Subject: core/cortex-m*: always use coreboot-sdk It creates smaller code. BUG=chromium:851727,b:65441143 BRANCH=none TEST=builds with the new compiler Change-Id: I569c6f75a595331fb489323d8b3f02d5dd2d5050 Signed-off-by: Patrick Georgi Reviewed-on: https://chromium-review.googlesource.com/1450713 Commit-Ready: Patrick Georgi Tested-by: Patrick Georgi Reviewed-by: Stefan Reinauer --- core/cortex-m0/build.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'core/cortex-m0') diff --git a/core/cortex-m0/build.mk b/core/cortex-m0/build.mk index 4f2f749977..1687c16d5a 100644 --- a/core/cortex-m0/build.mk +++ b/core/cortex-m0/build.mk @@ -6,8 +6,10 @@ # Cortex-M0 core OS files build # -# Select ARMv6-m compatible 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-) # CPU specific compilation flags CFLAGS_CPU+=-mthumb -Os -mno-sched-prolog -- cgit v1.2.1