1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

OP-917 Makefiles cleanup. Get rid of ALL_BOARDS_BU as not all boards have one

+review OPReview-456
This commit is contained in:
Alessio Morale 2013-04-28 10:14:50 +02:00
parent 78498910cf
commit 9f56fe9a1e
2 changed files with 2 additions and 6 deletions

View File

@ -197,7 +197,6 @@ export OPGCSSYNTHDIR := $(BUILD_DIR)/openpilotgcs-synthetics
# Define supported board lists
ALL_BOARDS := coptercontrol oplinkmini revolution osd revoproto simposix
ALL_BOARDS_BU := coptercontrol oplinkmini revolution osd revoproto
# Short names of each board (used to display board name in parallel builds)
coptercontrol_short := 'cc '
@ -211,13 +210,12 @@ simposix_short := 'posx'
# all other platforms.
ifneq ($(UNAME), Linux)
ALL_BOARDS := $(filter-out simposix, $(ALL_BOARDS))
ALL_BOARDS_BU := $(filter-out simposix, $(ALL_BOARDS_BU))
endif
# Start out assuming that we'll build fw, bl and bu for all boards
FW_BOARDS := $(ALL_BOARDS)
BL_BOARDS := $(ALL_BOARDS)
BU_BOARDS := $(ALL_BOARDS_BU)
BU_BOARDS := $(ALL_BOARDS)
EF_BOARDS := $(ALL_BOARDS)
# SimPosix doesn't have a BL, BU or EF target so we need to

View File

@ -46,8 +46,7 @@ ifeq ($(MCU),cortex-m3)
# Set linker-script name depending on selected submodel name
LDFLAGS += -T$(LINKER_SCRIPTS_PATH)/link_$(BOARD)_memory.ld
LDFLAGS += -T$(LINKER_SCRIPTS_PATH)/link_$(BOARD)_sections.ld
else
ifeq ($(MCU),cortex-m4)
else ifeq ($(MCU),cortex-m4)
include $(PIOS)/stm32f4xx/library.mk
# Set linker-script name depending on selected submodel name
LDFLAGS += -T$(PIOS_DEVLIB)/link_stm32f4xx_fw_memory.ld
@ -58,7 +57,6 @@ ifeq ($(MCU),cortex-m4)
else
$(error Unsupported MCU for BootloaderUpdater: $(MCU))
endif
endif
# List any extra directories to look for include files here.
# Each directory must be seperated by a space.