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:
parent
79be7613b5
commit
60c4d7f922
4
Makefile
4
Makefile
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user