mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
makefile: filter out unbuildable targets for SimPosix
This commit is contained in:
parent
35ed945aff
commit
dca2d0ee66
6
Makefile
6
Makefile
@ -648,6 +648,12 @@ EF_BOARDS := $(ALL_BOARDS)
|
||||
# filter them out to prevent errors.
|
||||
BU_BOARDS := $(filter-out revolution, $(BU_BOARDS))
|
||||
|
||||
# SimPosix doesn't have a BL, BU or EF target so we need to
|
||||
# filter them out to prevent errors on the all_flight target.
|
||||
BL_BOARDS := $(filter-out simposix, $(BL_BOARDS))
|
||||
BU_BOARDS := $(filter-out simposix, $(BU_BOARDS))
|
||||
EF_BOARDS := $(filter-out simposix, $(EF_BOARDS))
|
||||
|
||||
# Generate the targets for whatever boards are left in each list
|
||||
FW_TARGETS := $(addprefix fw_, $(FW_BOARDS))
|
||||
BL_TARGETS := $(addprefix bl_, $(BL_BOARDS))
|
||||
|
Loading…
x
Reference in New Issue
Block a user