Rather than assume that px4fmu means CMSIS DSPlib, test for cortex M4 and FPU.

This commit is contained in:
px4dev
2013-01-08 08:25:06 -08:00
parent c137ceba7d
commit ee5cd2c95a
+3 -1
View File
@@ -31,6 +31,8 @@
#
############################################################################
include $(TOPDIR)/.config
#
# Math library
#
@@ -51,7 +53,7 @@ CXXHDRS = math/test/test.hpp \
math/Matrix.hpp
# XXX this really should be a CONFIG_* test
ifeq ($(TARGET),px4fmu)
ifeq ($(CONFIG_ARCH_CORTEXM4)$(CONFIG_ARCH_FPU),yy)
INCLUDES += math/arm
CXXSRCS += math/arm/Vector.cpp \
math/arm/Matrix.cpp