mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
makefile: split out fw and bl targets and add cleans
New targets: - all_fw : builds all embedded application firmware - all_fw_clean : cleans all embedded firmware - all_bl : builds all bootloaders - all_bl_clean : cleans all bootloaders git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2850 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
9035ba3f6b
commit
617eec4d65
16
Makefile
16
Makefile
@ -246,8 +246,20 @@ uavobjects_clean:
|
||||
#
|
||||
##############################
|
||||
|
||||
.PHONY: all_flight
|
||||
all_flight: openpilot_elf bl_openpilot_elf ahrs_elf bl_ahrs_elf coptercontrol_elf bl_coptercontrol_elf pipxtreme_elf bl_pipxtreme_elf
|
||||
FW_TARGETS := openpilot ahrs coptercontrol pipxtreme
|
||||
BL_TARGETS := $(addprefix bl_, $(FW_TARGETS))
|
||||
|
||||
.PHONY: all_fw all_fw_clean
|
||||
all_fw: $(addsuffix _elf, $(FW_TARGETS))
|
||||
all_fw_clean: $(addsuffix _clean, $(FW_TARGETS))
|
||||
|
||||
.PHONY: all_bw all_bw_clean
|
||||
all_bl: $(addsuffix _elf, $(BL_TARGETS))
|
||||
all_bl_clean: $(addsuffix _clean, $(BL_TARGETS))
|
||||
|
||||
.PHONY: all_flight all_flight_clean
|
||||
all_flight: all_fw all_bl
|
||||
all_flight_clean: all_fw_clean all_bl_clean
|
||||
|
||||
.PHONY: openpilot
|
||||
openpilot: openpilot_elf
|
||||
|
Loading…
x
Reference in New Issue
Block a user