diff options
-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, 5 insertions, 6 deletions
diff --git a/board/servo_v4/build.mk b/board/servo_v4/build.mk index 6336bbfab6..6f757633f0 100644 --- a/board/servo_v4/build.mk +++ b/board/servo_v4/build.mk @@ -9,6 +9,8 @@ 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 c46518683b..b07a2914de 100644 --- a/core/cortex-m/build.mk +++ b/core/cortex-m/build.mk @@ -7,8 +7,7 @@ # # Select ARMv7-m bare-metal toolchain -$(call set-option,CROSS_COMPILE,$(CROSS_COMPILE_arm),\ - /opt/coreboot-sdk/bin/arm-eabi-) +$(call set-option,CROSS_COMPILE,$(CROSS_COMPILE_arm),arm-none-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 fedf646640..2023bd9607 100644 --- a/core/cortex-m0/build.mk +++ b/core/cortex-m0/build.mk @@ -7,8 +7,7 @@ # # Select ARMv6-m compatible bare-metal toolchain -$(call set-option,CROSS_COMPILE,$(CROSS_COMPILE_arm),\ - /opt/coreboot-sdk/bin/arm-eabi-) +$(call set-option,CROSS_COMPILE,$(CROSS_COMPILE_arm),arm-none-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 b9722da508..4fae1ac107 100644 --- a/core/minute-ia/build.mk +++ b/core/minute-ia/build.mk @@ -7,8 +7,7 @@ # # Select Minute-IA bare-metal toolchain -$(call set-option,CROSS_COMPILE,$(CROSS_COMPILE_i386),\ - /opt/coreboot-sdk/bin/i386-elf-) +$(call set-option,CROSS_COMPILE,$(CROSS_COMPILE_i386),i686-pc-linux-gnu-) # FPU compilation flags CFLAGS_FPU-$(CONFIG_FPU)= |