mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
OP-899: rename System to firmware and move Makefile into it
This commit is contained in:
parent
fce12662bc
commit
f7f842687a
4
Makefile
4
Makefile
@ -260,13 +260,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/boards/$(1) && \
|
||||
$(V1) cd $(ROOT_DIR)/flight/targets/boards/$(1)/firmware && \
|
||||
$$(MAKE) -r --no-print-directory \
|
||||
BOARD_NAME=$(1) \
|
||||
BOARD_SHORT_NAME=$(2) \
|
||||
BUILD_TYPE=fw \
|
||||
HWDEFSINC=$(HWDEFS)/$(1) \
|
||||
TOPDIR=$(ROOT_DIR)/flight/targets/boards/$(1) \
|
||||
TOPDIR=$(ROOT_DIR)/flight/targets/boards/$(1)/firmware \
|
||||
OUTDIR=$(BUILD_DIR)/fw_$(1) \
|
||||
TARGET=fw_$(1) \
|
||||
$$*
|
||||
|
@ -41,15 +41,15 @@ MODULES += FirmwareIAP
|
||||
#MODULES += OveroSync
|
||||
|
||||
# Paths
|
||||
OPSYSTEM = ./System
|
||||
OPSYSTEM = .
|
||||
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
|
||||
@ -59,7 +59,7 @@ PIOSBOARDS = $(PIOS)/Boards
|
||||
PIOSCOMMONLIB = $(PIOS)/Common/Libraries
|
||||
BOOT =
|
||||
BOOTINC =
|
||||
HWDEFSINC = ../../board_hw_defs/$(BOARD_NAME)
|
||||
HWDEFSINC = ../../../board_hw_defs/$(BOARD_NAME)
|
||||
UAVOBJSYNTHDIR = $(OUTDIR)/../uavobject-synthetics/flight
|
||||
|
||||
# optional component libraries
|
@ -22,7 +22,7 @@ endif
|
||||
|
||||
# Paths
|
||||
TOPDIR = .
|
||||
OPSYSTEM = $(TOPDIR)/System
|
||||
OPSYSTEM = $(TOPDIR)
|
||||
OPSYSTEMINC = $(OPSYSTEM)/inc
|
||||
PIOSINC = $(PIOS)/inc
|
||||
PIOSCOMMON = $(PIOS)/Common
|
||||
|
Loading…
x
Reference in New Issue
Block a user