1
0
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:
Oleg Semyonov 2013-04-15 21:47:23 +03:00 committed by Oleg Semyonov
parent fce12662bc
commit f7f842687a
85 changed files with 9 additions and 9 deletions

View File

@ -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) \
$$*

View File

@ -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

View File

@ -22,7 +22,7 @@ endif
# Paths
TOPDIR = .
OPSYSTEM = $(TOPDIR)/System
OPSYSTEM = $(TOPDIR)
OPSYSTEMINC = $(OPSYSTEM)/inc
PIOSINC = $(PIOS)/inc
PIOSCOMMON = $(PIOS)/Common