summaryrefslogtreecommitdiff
path: root/hw/bsp
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-05-14 13:59:45 +0700
committerhathach <[email protected]>2019-05-14 13:59:45 +0700
commit8094bdce23a72264e54641ec4c34189935829251 (patch)
tree27f3cb6cbb233743280e231339dc9460e16f439c /hw/bsp
parent62f0eb16d6549db084c5e8661fa2b76e7bc1a9a4 (diff)
makefile clean up
Diffstat (limited to 'hw/bsp')
-rw-r--r--hw/bsp/metro_m0_express/board.mk2
-rw-r--r--hw/bsp/metro_m4_express/board.mk2
-rw-r--r--hw/bsp/stm32f303disc/board.mk2
-rw-r--r--hw/bsp/stm32f407g_disc1/board.mk2
4 files changed, 0 insertions, 8 deletions
diff --git a/hw/bsp/metro_m0_express/board.mk b/hw/bsp/metro_m0_express/board.mk
index 532a3d3fe..3ea672807 100644
--- a/hw/bsp/metro_m0_express/board.mk
+++ b/hw/bsp/metro_m0_express/board.mk
@@ -10,8 +10,6 @@ CFLAGS += \
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/metro_m0_express/samd21g18a_flash.ld
-LD_FLAGS += -mthumb -mcpu=cortex-m0plus
-
SRC_C += \
hw/mcu/microchip/samd/asf4/samd21/gcc/gcc/startup_samd21.c \
hw/mcu/microchip/samd/asf4/samd21/gcc/system_samd21.c \
diff --git a/hw/bsp/metro_m4_express/board.mk b/hw/bsp/metro_m4_express/board.mk
index 3a1de04ac..c62d9bc33 100644
--- a/hw/bsp/metro_m4_express/board.mk
+++ b/hw/bsp/metro_m4_express/board.mk
@@ -13,8 +13,6 @@ CFLAGS += -Wno-error=undef
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/metro_m4_express/samd51g19a_flash.ld
-LDFLAGS += -mthumb -mcpu=cortex-m4
-
SRC_C += \
hw/mcu/microchip/samd/asf4/samd51/gcc/gcc/startup_samd51.c \
hw/mcu/microchip/samd/asf4/samd51/gcc/system_samd51.c \
diff --git a/hw/bsp/stm32f303disc/board.mk b/hw/bsp/stm32f303disc/board.mk
index 8efa5e6ab..76922a46a 100644
--- a/hw/bsp/stm32f303disc/board.mk
+++ b/hw/bsp/stm32f303disc/board.mk
@@ -12,8 +12,6 @@ CFLAGS += \
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/stm32f303disc/STM32F303VCTx_FLASH.ld
-LDFLAGS += -mthumb -mcpu=cortex-m4
-
SRC_C += \
hw/mcu/st/system-init/system_stm32f3xx.c \
hw/mcu/st/stm32lib/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal.c \
diff --git a/hw/bsp/stm32f407g_disc1/board.mk b/hw/bsp/stm32f407g_disc1/board.mk
index 2aa0a7ab1..ab3043a40 100644
--- a/hw/bsp/stm32f407g_disc1/board.mk
+++ b/hw/bsp/stm32f407g_disc1/board.mk
@@ -12,8 +12,6 @@ CFLAGS += \
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/stm32f407g_disc1/STM32F407VGTx_FLASH.ld
-LDFLAGS += -mthumb -mcpu=cortex-m4
-
SRC_C += \
hw/mcu/st/system-init/system_stm32f4xx.c