mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 01:03:33 +08:00
Move the math library pieces out of systemlib into mathlib
This commit is contained in:
+2
-30
@@ -47,41 +47,13 @@ CSRCS = err.c \
|
||||
|
||||
# ppm_decode.c \
|
||||
|
||||
|
||||
CXXSRCS = test/test.cpp \
|
||||
math/Vector.cpp \
|
||||
math/Vector3.cpp \
|
||||
math/EulerAngles.cpp \
|
||||
math/Quaternion.cpp \
|
||||
math/Dcm.cpp \
|
||||
math/Matrix.cpp
|
||||
|
||||
CXXHDRS = test/test.hpp \
|
||||
math/Vector.hpp \
|
||||
math/Vector3.hpp \
|
||||
math/EulerAngles.hpp \
|
||||
math/Quaternion.hpp \
|
||||
math/Dcm.hpp \
|
||||
math/Matrix.hpp
|
||||
|
||||
#
|
||||
# XXX this really should be a CONFIG_* test
|
||||
#
|
||||
ifeq ($(TARGET),px4fmu)
|
||||
INCLUDES += math/arm
|
||||
CSRCS += systemlib.c \
|
||||
pid/pid.c \
|
||||
geo/geo.c
|
||||
CXXSRCS += math/arm/Vector.cpp \
|
||||
math/arm/Matrix.cpp
|
||||
CXXHDRS += math/arm/Vector.hpp \
|
||||
math/arm/Matrix.hpp
|
||||
else
|
||||
INCLUDES += math/generic
|
||||
CXXSRCS += math/generic/Vector.cpp \
|
||||
math/generic/Matrix.cpp
|
||||
CXXHDRS += math/generic/Vector.hpp \
|
||||
math/generic/Matrix.hpp
|
||||
pid/pid.c \
|
||||
geo/geo.c
|
||||
endif
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
Reference in New Issue
Block a user