mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
Merged in filnet/librepilot/LP-486_disable_gpsplatinum_compilation (pull request #394)
LP-486 temporarily disable compilation of gpsplatinum bootloader Approved-by: Lalanne Laurent <f5soh@free.fr> Approved-by: Alessio Morale <alessiomorale@gmail.com> Approved-by: Harold Hankins <hwh@hjns.net> Approved-by: Brian Webb <webbbn@gmail.com> Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
This commit is contained in:
commit
a14469e68b
6
Makefile
6
Makefile
@ -335,7 +335,11 @@ uploader_clean:
|
||||
#
|
||||
##############################
|
||||
# Firmware files to package
|
||||
PACKAGE_FW_TARGETS := fw_coptercontrol fw_oplinkmini fw_revolution fw_osd fw_revoproto fw_gpsplatinum fw_revonano fw_sparky2
|
||||
PACKAGE_FW_TARGETS := fw_coptercontrol fw_revolution fw_revonano fw_sparky2
|
||||
PACKAGE_FW_TARGETS += fw_oplinkmini
|
||||
PACKAGE_FW_TARGETS += fw_gpsplatinum
|
||||
PACKAGE_FW_TARGETS += fw_osd
|
||||
PACKAGE_FW_TARGETS += fw_revoproto
|
||||
|
||||
# Rules to generate GCS resources used to embed firmware binaries into the GCS.
|
||||
# They are used later by the vehicle setup wizard to update board firmware.
|
||||
|
@ -8,7 +8,16 @@ export OPUAVTALK := $(FLIGHT_ROOT_DIR)/uavtalk
|
||||
export FLIGHT_OUT_DIR ?= $(CURDIR)
|
||||
|
||||
# Define supported board lists
|
||||
ALL_BOARDS := coptercontrol oplinkmini revolution osd revoproto simposix discoveryf4bare gpsplatinum revonano sparky2
|
||||
ALL_BOARDS := coptercontrol revolution revonano sparky2
|
||||
ALL_BOARDS += revoproto
|
||||
ALL_BOARDS += oplinkmini
|
||||
ALL_BOARDS += gpsplatinum
|
||||
ALL_BOARDS += osd
|
||||
ALL_BOARDS += discoveryf4bare
|
||||
# SimPosix only builds on Linux
|
||||
ifeq ($(UNAME), Linux)
|
||||
ALL_BOARDS += simposix
|
||||
endif
|
||||
|
||||
# Short names of each board (used to display board name in parallel builds)
|
||||
coptercontrol_short := 'cc '
|
||||
@ -22,12 +31,6 @@ simposix_short := 'posx'
|
||||
discoveryf4bare_short := 'df4b'
|
||||
gpsplatinum_short := 'gps9'
|
||||
|
||||
# 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))
|
||||
endif
|
||||
|
||||
# Start out assuming that we'll build fw, bl and bu for all boards
|
||||
FW_BOARDS := $(ALL_BOARDS)
|
||||
BL_BOARDS := $(ALL_BOARDS)
|
||||
@ -36,9 +39,9 @@ EF_BOARDS := $(ALL_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))
|
||||
BL_BOARDS := $(filter-out simposix gpsplatinum, $(BL_BOARDS))
|
||||
BU_BOARDS := $(filter-out simposix gpsplatinum, $(BU_BOARDS))
|
||||
EF_BOARDS := $(filter-out simposix, $(EF_BOARDS))
|
||||
EF_BOARDS := $(filter-out simposix gpsplatinum, $(EF_BOARDS))
|
||||
|
||||
# Generate the targets for whatever boards are left in each list
|
||||
FW_TARGETS := $(addprefix fw_, $(FW_BOARDS))
|
||||
|
Loading…
x
Reference in New Issue
Block a user