mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-899: move EF and BU to targets/common
This commit is contained in:
parent
fc845888d3
commit
63573fac16
8
Makefile
8
Makefile
@ -335,13 +335,13 @@ bu_$(1): bu_$(1)_opfw
|
||||
|
||||
bu_$(1)_%: bl_$(1)_bino
|
||||
$(V1) $(MKDIR) -p $(BUILD_DIR)/bu_$(1)/dep
|
||||
$(V1) cd $(ROOT_DIR)/flight/targets/BootloaderUpdater && \
|
||||
$(V1) cd $(ROOT_DIR)/flight/targets/common/BootloaderUpdater && \
|
||||
$$(MAKE) -r --no-print-directory \
|
||||
BOARD_NAME=$(1) \
|
||||
BOARD_SHORT_NAME=$(3) \
|
||||
BUILD_TYPE=bu \
|
||||
HWDEFSINC=$(HWDEFS)/$(1) \
|
||||
TOPDIR=$(ROOT_DIR)/flight/targets/BootloaderUpdater \
|
||||
TOPDIR=$(ROOT_DIR)/flight/targets/common/BootloaderUpdater \
|
||||
OUTDIR=$(BUILD_DIR)/bu_$(1) \
|
||||
TARGET=bu_$(1) \
|
||||
$$*
|
||||
@ -359,13 +359,13 @@ ef_$(1): ef_$(1)_bin
|
||||
|
||||
ef_$(1)_%: bl_$(1)_bin fw_$(1)_opfw
|
||||
$(V1) $(MKDIR) -p $(BUILD_DIR)/ef_$(1)
|
||||
$(V1) cd $(ROOT_DIR)/flight/targets/EntireFlash && \
|
||||
$(V1) cd $(ROOT_DIR)/flight/targets/common/EntireFlash && \
|
||||
$$(MAKE) -r --no-print-directory \
|
||||
BOARD_NAME=$(1) \
|
||||
BOARD_SHORT_NAME=$(3) \
|
||||
BUILD_TYPE=ef \
|
||||
DFU_CMD="$(DFUUTIL_DIR)/bin/dfu-util" \
|
||||
TOPDIR=$(ROOT_DIR)/flight/targets/EntireFlash \
|
||||
TOPDIR=$(ROOT_DIR)/flight/targets/common/EntireFlash \
|
||||
OUTDIR=$(BUILD_DIR)/ef_$(1) \
|
||||
TARGET=ef_$(1) \
|
||||
$$*
|
||||
|
Loading…
Reference in New Issue
Block a user