diff --git a/Makefile b/Makefile index b7d31c35b..c502b84b4 100644 --- a/Makefile +++ b/Makefile @@ -209,7 +209,7 @@ simposix_short := 'posx' # SimPosix only builds on Linux so drop it from the list for # all other platforms. ifneq ($(UNAME), Linux) - ALL_BOARDS := $(filter-out simposix, $(ALL_BOARDS)) + ALL_BOARDS := $(filter-out simposix, $(ALL_BOARDS)) endif # Start out assuming that we'll build fw, bl and bu for all boards diff --git a/flight/targets/common/bootloader_updater/Makefile b/flight/targets/common/bootloader_updater/Makefile index cd420779c..66b6530ed 100644 --- a/flight/targets/common/bootloader_updater/Makefile +++ b/flight/targets/common/bootloader_updater/Makefile @@ -47,13 +47,13 @@ ifeq ($(MCU),cortex-m3) LDFLAGS += -T$(LINKER_SCRIPTS_PATH)/link_$(BOARD)_memory.ld LDFLAGS += -T$(LINKER_SCRIPTS_PATH)/link_$(BOARD)_sections.ld else ifeq ($(MCU),cortex-m4) - include $(PIOS)/stm32f4xx/library.mk + include $(PIOS)/stm32f4xx/library.mk + # Set linker-script name depending on selected submodel name LDFLAGS += -T$(PIOS_DEVLIB)/link_stm32f4xx_fw_memory.ld LDFLAGS += -T$(PIOS_DEVLIB)/link_stm32f4xx_sections.ld SRC += $(HWDEFSINC)/firmware/cm3_fault_handlers.c SRC += $(HWDEFSINC)/firmware/dcc_stdio.c - else $(error Unsupported MCU for BootloaderUpdater: $(MCU)) endif