1
0
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:
Oleg Semyonov 2013-04-15 17:05:21 +03:00
parent fc845888d3
commit 63573fac16
7 changed files with 4 additions and 4 deletions

View File

@ -335,13 +335,13 @@ bu_$(1): bu_$(1)_opfw
bu_$(1)_%: bl_$(1)_bino bu_$(1)_%: bl_$(1)_bino
$(V1) $(MKDIR) -p $(BUILD_DIR)/bu_$(1)/dep $(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 \ $$(MAKE) -r --no-print-directory \
BOARD_NAME=$(1) \ BOARD_NAME=$(1) \
BOARD_SHORT_NAME=$(3) \ BOARD_SHORT_NAME=$(3) \
BUILD_TYPE=bu \ BUILD_TYPE=bu \
HWDEFSINC=$(HWDEFS)/$(1) \ HWDEFSINC=$(HWDEFS)/$(1) \
TOPDIR=$(ROOT_DIR)/flight/targets/BootloaderUpdater \ TOPDIR=$(ROOT_DIR)/flight/targets/common/BootloaderUpdater \
OUTDIR=$(BUILD_DIR)/bu_$(1) \ OUTDIR=$(BUILD_DIR)/bu_$(1) \
TARGET=bu_$(1) \ TARGET=bu_$(1) \
$$* $$*
@ -359,13 +359,13 @@ ef_$(1): ef_$(1)_bin
ef_$(1)_%: bl_$(1)_bin fw_$(1)_opfw ef_$(1)_%: bl_$(1)_bin fw_$(1)_opfw
$(V1) $(MKDIR) -p $(BUILD_DIR)/ef_$(1) $(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 \ $$(MAKE) -r --no-print-directory \
BOARD_NAME=$(1) \ BOARD_NAME=$(1) \
BOARD_SHORT_NAME=$(3) \ BOARD_SHORT_NAME=$(3) \
BUILD_TYPE=ef \ BUILD_TYPE=ef \
DFU_CMD="$(DFUUTIL_DIR)/bin/dfu-util" \ 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) \ OUTDIR=$(BUILD_DIR)/ef_$(1) \
TARGET=ef_$(1) \ TARGET=ef_$(1) \
$$* $$*