1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

bu targets fix

This commit is contained in:
Sambas 2012-07-08 15:07:32 +03:00
parent 79be7613b5
commit 60c4d7f922
2 changed files with 6 additions and 3 deletions

View File

@ -655,11 +655,13 @@ all_$(1)_clean: $$(addsuffix _clean, $$(filter ef_$(1), $$(EF_TARGETS)))
endef
ALL_BOARDS := coptercontrol pipxtreme revolution simposix osd
ALL_BOARDS_BU := coptercontrol pipxtreme simposix
# 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_BU := $(filter-out simposix, $(ALL_BOARDS_BU))
endif
# SimPosix only builds on Linux so drop it from the list for
@ -692,7 +694,7 @@ osd_short := 'osd '
# 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_BOARDS := $(ALL_BOARDS_BU)
EF_BOARDS := $(ALL_BOARDS)
# FIXME: The BU image doesn't work for F4 boards so we need to

View File

@ -30,11 +30,12 @@ CLEAN_FLIGHT := YES
endif
# Set up targets
ALL_BOARDS := coptercontrol pipxtreme revolution
ALL_BOARDS := coptercontrol pipxtreme revolution osd
ALL_BOARDS_BU := coptercontrol pipxtreme
FW_TARGETS := $(addprefix fw_, $(ALL_BOARDS))
FW_TARGETS_TOOLS := $(addprefix fw_, $(ALL_BOARDS))
BL_TARGETS := $(addprefix bl_, $(ALL_BOARDS))
BU_TARGETS := $(addprefix bu_, $(ALL_BOARDS))
BU_TARGETS := $(addprefix bu_, $(ALL_BOARDS_BU))
help:
@echo