mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-21 11:54:15 +01:00
OP-899: move bootloaders under board directories
This commit is contained in:
parent
f01655efed
commit
fce12662bc
4
Makefile
4
Makefile
@ -288,13 +288,13 @@ bl_$(1)_bino: bl_$(1)_bin
|
|||||||
bl_$(1)_%:
|
bl_$(1)_%:
|
||||||
$(V1) $$(ARM_GCC_VERSION_CHECK_TEMPLATE)
|
$(V1) $$(ARM_GCC_VERSION_CHECK_TEMPLATE)
|
||||||
$(V1) $(MKDIR) -p $(BUILD_DIR)/bl_$(1)/dep
|
$(V1) $(MKDIR) -p $(BUILD_DIR)/bl_$(1)/dep
|
||||||
$(V1) cd $(ROOT_DIR)/flight/targets/Bootloaders/$(1) && \
|
$(V1) cd $(ROOT_DIR)/flight/targets/boards/$(1)/bootloader && \
|
||||||
$$(MAKE) -r --no-print-directory \
|
$$(MAKE) -r --no-print-directory \
|
||||||
BOARD_NAME=$(1) \
|
BOARD_NAME=$(1) \
|
||||||
BOARD_SHORT_NAME=$(2) \
|
BOARD_SHORT_NAME=$(2) \
|
||||||
BUILD_TYPE=bl \
|
BUILD_TYPE=bl \
|
||||||
HWDEFSINC=$(HWDEFS)/$(1) \
|
HWDEFSINC=$(HWDEFS)/$(1) \
|
||||||
TOPDIR=$(ROOT_DIR)/flight/targets/Bootloaders/$(1) \
|
TOPDIR=$(ROOT_DIR)/flight/targets/boards/$(1)/bootloader \
|
||||||
OUTDIR=$(BUILD_DIR)/bl_$(1) \
|
OUTDIR=$(BUILD_DIR)/bl_$(1) \
|
||||||
TARGET=bl_$(1) \
|
TARGET=bl_$(1) \
|
||||||
$$*
|
$$*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user