diff options
author | Patrick Georgi <pgeorgi@google.com> | 2018-08-13 19:24:42 +0200 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-15 16:37:32 -0700 |
commit | bcd6842fb861b99588039b0bb72fafd92853525e (patch) | |
tree | 9a7b4c33ae8848ca0b87f864122769c6ac84a061 | |
parent | 8dd602a7505176b120c9bee267aee3dcb950559d (diff) | |
download | chrome-ec-bcd6842fb861b99588039b0bb72fafd92853525e.tar.gz |
**/build.mk: Set CROSS_COMPILE* to point to coreboot-sdk
board/servo_v4 used it already but doesn't need the override anymore,
nds32 also used it, therefore no change.
BUG=chromium:851727,b:65441143
BRANCH=none
TEST=builds with the new compiler
Change-Id: I59a7181b87293da2a8515b158c17417b5ba05404
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1172974
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@google.com>
-rw-r--r-- | board/servo_v4/build.mk | 2 | ||||
-rw-r--r-- | core/cortex-m/build.mk | 3 | ||||
-rw-r--r-- | core/cortex-m0/build.mk | 3 | ||||
-rw-r--r-- | core/minute-ia/build.mk | 3 |
4 files changed, 6 insertions, 5 deletions
diff --git a/board/servo_v4/build.mk b/board/servo_v4/build.mk index 6f757633f0..6336bbfab6 100644 --- a/board/servo_v4/build.mk +++ b/board/servo_v4/build.mk @@ -9,8 +9,6 @@ CHIP:=stm32 CHIP_FAMILY:=stm32f0 CHIP_VARIANT:=stm32f07x -$(call set-option,CROSS_COMPILE_arm,$(CROSS_COMPILE_arm),\ - /opt/coreboot-sdk/bin/arm-eabi-) # Not enough SRAM: Disable all tests test-list-y= diff --git a/core/cortex-m/build.mk b/core/cortex-m/build.mk index b07a2914de..c46518683b 100644 --- a/core/cortex-m/build.mk +++ b/core/cortex-m/build.mk @@ -7,7 +7,8 @@ # # Select ARMv7-m bare-metal toolchain -$(call set-option,CROSS_COMPILE,$(CROSS_COMPILE_arm),arm-none-eabi-) +$(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 diff --git a/core/cortex-m0/build.mk b/core/cortex-m0/build.mk index 2023bd9607..fedf646640 100644 --- a/core/cortex-m0/build.mk +++ b/core/cortex-m0/build.mk @@ -7,7 +7,8 @@ # # Select ARMv6-m compatible bare-metal toolchain -$(call set-option,CROSS_COMPILE,$(CROSS_COMPILE_arm),arm-none-eabi-) +$(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 diff --git a/core/minute-ia/build.mk b/core/minute-ia/build.mk index 4fae1ac107..b9722da508 100644 --- a/core/minute-ia/build.mk +++ b/core/minute-ia/build.mk @@ -7,7 +7,8 @@ # # Select Minute-IA bare-metal toolchain -$(call set-option,CROSS_COMPILE,$(CROSS_COMPILE_i386),i686-pc-linux-gnu-) +$(call set-option,CROSS_COMPILE,$(CROSS_COMPILE_i386),\ + /opt/coreboot-sdk/bin/i386-elf-) # FPU compilation flags CFLAGS_FPU-$(CONFIG_FPU)= |