mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
OP-899: move board targets under targets/boards
This commit is contained in:
parent
399cafe7d7
commit
fc845888d3
4
Makefile
4
Makefile
@ -269,13 +269,13 @@ fw_$(1): fw_$(1)_opfw
|
||||
fw_$(1)_%: uavobjects_flight
|
||||
$(V1) $$(ARM_GCC_VERSION_CHECK_TEMPLATE)
|
||||
$(V1) $(MKDIR) -p $(BUILD_DIR)/fw_$(1)/dep
|
||||
$(V1) cd $(ROOT_DIR)/flight/targets/$(2) && \
|
||||
$(V1) cd $(ROOT_DIR)/flight/targets/boards/$(2) && \
|
||||
$$(MAKE) -r --no-print-directory \
|
||||
BOARD_NAME=$(1) \
|
||||
BOARD_SHORT_NAME=$(3) \
|
||||
BUILD_TYPE=fw \
|
||||
HWDEFSINC=$(HWDEFS)/$(1) \
|
||||
TOPDIR=$(ROOT_DIR)/flight/targets/$(2) \
|
||||
TOPDIR=$(ROOT_DIR)/flight/targets/boards/$(2) \
|
||||
OUTDIR=$(BUILD_DIR)/fw_$(1) \
|
||||
TARGET=fw_$(1) \
|
||||
$$*
|
||||
|
@ -43,13 +43,13 @@ MODULES += FirmwareIAP
|
||||
# Paths
|
||||
OPSYSTEM = ./System
|
||||
OPSYSTEMINC = $(OPSYSTEM)/inc
|
||||
OPUAVTALK = ../UAVTalk
|
||||
OPUAVTALK = ../../UAVTalk
|
||||
OPUAVTALKINC = $(OPUAVTALK)/inc
|
||||
OPUAVOBJ = ../UAVObjects
|
||||
OPUAVOBJ = ../../UAVObjects
|
||||
OPUAVOBJINC = $(OPUAVOBJ)/inc
|
||||
PIOSINC = $(PIOS)/inc
|
||||
OPMODULEDIR = ../../Modules
|
||||
FLIGHTLIB = ../../Libraries
|
||||
OPMODULEDIR = ../../../Modules
|
||||
FLIGHTLIB = ../../../Libraries
|
||||
FLIGHTLIBINC = $(FLIGHTLIB)/inc
|
||||
MATHLIB = $(FLIGHTLIB)/math
|
||||
MATHLIBINC = $(FLIGHTLIB)/math
|
||||
@ -57,11 +57,9 @@ PIOSPOSIX = $(PIOS)/posix
|
||||
PIOSCOMMON = $(PIOS)/posix
|
||||
PIOSBOARDS = $(PIOS)/Boards
|
||||
PIOSCOMMONLIB = $(PIOS)/Common/Libraries
|
||||
OPUAVOBJ = ../UAVObjects
|
||||
OPUAVOBJINC = $(OPUAVOBJ)/inc
|
||||
BOOT =
|
||||
BOOTINC =
|
||||
HWDEFSINC = ../board_hw_defs/$(BOARD_NAME)
|
||||
HWDEFSINC = ../../board_hw_defs/$(BOARD_NAME)
|
||||
UAVOBJSYNTHDIR = $(OUTDIR)/../uavobject-synthetics/flight
|
||||
|
||||
# optional component libraries
|
||||
@ -248,7 +246,7 @@ LDFLAGS += $(patsubst %,-l%,$(EXTRA_LIBS))
|
||||
LDFLAGS += $(MATH_LIB)
|
||||
LDFLAGS += -lc -lgcc -lpthread -lrt
|
||||
|
||||
#Linker scripts
|
||||
#Linker scripts
|
||||
LDFLAGS += $(addprefix -T,$(LINKER_SCRIPTS_APP))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user