summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/kukui/build.mk5
-rw-r--r--board/servo_v4/build.mk5
-rw-r--r--core/cortex-m/build.mk6
-rw-r--r--core/cortex-m0/build.mk6
4 files changed, 8 insertions, 14 deletions
diff --git a/board/kukui/build.mk b/board/kukui/build.mk
index 7b91f2b366..02ef585861 100644
--- a/board/kukui/build.mk
+++ b/board/kukui/build.mk
@@ -11,11 +11,6 @@ CHIP:=stm32
CHIP_FAMILY:=stm32f0
CHIP_VARIANT:=stm32f09x
-# Use coreboot-sdk
-$(call set-option,CROSS_COMPILE_arm,\
- $(CROSS_COMPILE_coreboot_sdk_arm),\
- /opt/coreboot-sdk/bin/arm-eabi-)
-
board-y=battery.o board.o usb_pd_policy.o led.o
board-$(CONFIG_BOOTBLOCK)+=emmc.o
diff --git a/board/servo_v4/build.mk b/board/servo_v4/build.mk
index 8d3e1e8d71..6336bbfab6 100644
--- a/board/servo_v4/build.mk
+++ b/board/servo_v4/build.mk
@@ -10,11 +10,6 @@ CHIP:=stm32
CHIP_FAMILY:=stm32f0
CHIP_VARIANT:=stm32f07x
-# Use coreboot-sdk
-$(call set-option,CROSS_COMPILE_arm,\
- $(CROSS_COMPILE_coreboot_sdk_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 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
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