mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
LP-238 - Move CPP stuffs within apps/boot-defs.mk. fix targets accordingly
This commit is contained in:
parent
9b45435928
commit
ffdd62721f
@ -132,6 +132,11 @@ SRC += $(MATHLIB)/butterworth.c
|
||||
SRC += $(FLIGHTLIB)/printf-stdarg.c
|
||||
SRC += $(FLIGHTLIB)/optypes.c
|
||||
|
||||
## CPP support
|
||||
ifeq ($(USE_CXX),YES)
|
||||
CPPSRC += $(FLIGHTLIB)/mini_cpp.cpp
|
||||
endif
|
||||
|
||||
## Modules
|
||||
SRC += $(foreach mod, $(MODULES), $(sort $(wildcard $(OPMODULEDIR)/$(mod)/*.c)))
|
||||
CPPSRC += $(foreach mod, $(MODULES), $(sort $(wildcard $(OPMODULEDIR)/$(mod)/*.cpp)))
|
||||
|
@ -67,6 +67,11 @@ SRC += $(PIOSCOMMON)/pios_led.c
|
||||
SRC += $(FLIGHTLIB)/op_dfu.c
|
||||
SRC += $(FLIGHTLIB)/printf-stdarg.c
|
||||
|
||||
## CPP support
|
||||
ifeq ($(USE_CXX),YES)
|
||||
CPPSRC += $(FLIGHTLIB)/mini_cpp.cpp
|
||||
endif
|
||||
|
||||
# List C source files here which must be compiled in ARM-Mode (no -mthumb).
|
||||
# Use file-extension c for "c-only"-files
|
||||
SRCARM +=
|
||||
|
@ -97,7 +97,6 @@ ifndef TESTAPP
|
||||
SRC += $(FLIGHTLIB)/insgps13state.c
|
||||
SRC += $(FLIGHTLIB)/auxmagsupport.c
|
||||
SRC += $(FLIGHTLIB)/lednotification.c
|
||||
CPPSRC += $(FLIGHTLIB)/mini_cpp.cpp
|
||||
|
||||
## UAVObjects
|
||||
include ./UAVObjects.inc
|
||||
|
@ -95,7 +95,6 @@ ifndef TESTAPP
|
||||
SRC += $(FLIGHTLIB)/auxmagsupport.c
|
||||
SRC += $(FLIGHTLIB)/lednotification.c
|
||||
SRC += $(FLIGHTLIB)/sha1.c
|
||||
CPPSRC += $(FLIGHTLIB)/mini_cpp.cpp
|
||||
|
||||
## UAVObjects
|
||||
include ./UAVObjects.inc
|
||||
|
@ -91,7 +91,6 @@ ifndef TESTAPP
|
||||
SRC += $(FLIGHTLIB)/plans.c
|
||||
SRC += $(FLIGHTLIB)/WorldMagModel.c
|
||||
SRC += $(FLIGHTLIB)/insgps13state.c
|
||||
CPPSRC += $(FLIGHTLIB)/mini_cpp.cpp
|
||||
SRC += $(FLIGHTLIB)/lednotification.c
|
||||
SRC += $(FLIGHTLIB)/auxmagsupport.c
|
||||
## UAVObjects
|
||||
|
@ -90,8 +90,6 @@ ifndef TESTAPP
|
||||
SRC += $(FLIGHTLIB)/WorldMagModel.c
|
||||
SRC += $(FLIGHTLIB)/insgps13state.c
|
||||
SRC += $(FLIGHTLIB)/auxmagsupport.c
|
||||
CPPSRC += $(FLIGHTLIB)/mini_cpp.cpp
|
||||
|
||||
|
||||
## UAVObjects
|
||||
include ./UAVObjects.inc
|
||||
|
Loading…
x
Reference in New Issue
Block a user