diff options
author | Patrick Georgi <pgeorgi@google.com> | 2019-02-02 09:46:51 +0100 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-02-19 12:46:14 -0800 |
commit | a66c36ee98fc109dc2abb4c1fcc8947dd267fcc0 (patch) | |
tree | ee18a5738392b3334757adaaa4a793552dba0536 /core/cortex-m | |
parent | 385f222d217188de7dd002c7a749886cf7ee7929 (diff) | |
download | chrome-ec-a66c36ee98fc109dc2abb4c1fcc8947dd267fcc0.tar.gz |
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 <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1450713
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Diffstat (limited to 'core/cortex-m')
-rw-r--r-- | core/cortex-m/build.mk | 6 |
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 |