mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 00:53:34 +08:00
Fix a build breaker, remove C*HDRS as they aren't used.
This commit is contained in:
@@ -43,11 +43,4 @@ CXXSRCS = block/Block.cpp \
|
|||||||
blocks.cpp \
|
blocks.cpp \
|
||||||
fixedwing.cpp
|
fixedwing.cpp
|
||||||
|
|
||||||
CXXHDRS = block/Block.hpp \
|
|
||||||
block/BlockParam.hpp \
|
|
||||||
block/UOrbPublication.hpp \
|
|
||||||
block/UOrbSubscription.hpp \
|
|
||||||
blocks.hpp \
|
|
||||||
fixedwing.hpp
|
|
||||||
|
|
||||||
include $(APPDIR)/mk/app.mk
|
include $(APPDIR)/mk/app.mk
|
||||||
|
|||||||
@@ -42,14 +42,6 @@ CXXSRCS = math/test/test.cpp \
|
|||||||
math/Dcm.cpp \
|
math/Dcm.cpp \
|
||||||
math/Matrix.cpp
|
math/Matrix.cpp
|
||||||
|
|
||||||
CXXHDRS = math/test/test.hpp \
|
|
||||||
math/Vector.hpp \
|
|
||||||
math/Vector3.hpp \
|
|
||||||
math/EulerAngles.hpp \
|
|
||||||
math/Quaternion.hpp \
|
|
||||||
math/Dcm.hpp \
|
|
||||||
math/Matrix.hpp
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# In order to include .config we first have to save off the
|
# In order to include .config we first have to save off the
|
||||||
# current makefile name, since app.mk needs it.
|
# current makefile name, since app.mk needs it.
|
||||||
@@ -61,14 +53,10 @@ ifeq ($(CONFIG_ARCH_CORTEXM4)$(CONFIG_ARCH_FPU),yy)
|
|||||||
INCLUDES += math/arm
|
INCLUDES += math/arm
|
||||||
CXXSRCS += math/arm/Vector.cpp \
|
CXXSRCS += math/arm/Vector.cpp \
|
||||||
math/arm/Matrix.cpp
|
math/arm/Matrix.cpp
|
||||||
CXXHDRS += math/arm/Vector.hpp \
|
|
||||||
math/arm/Matrix.hpp
|
|
||||||
else
|
else
|
||||||
INCLUDES += math/generic
|
INCLUDES += math/generic
|
||||||
CXXSRCS += math/generic/Vector.cpp \
|
CXXSRCS += math/generic/Vector.cpp \
|
||||||
math/generic/Matrix.cpp
|
math/generic/Matrix.cpp
|
||||||
CXXHDRS += math/generic/Vector.hpp \
|
|
||||||
math/generic/Matrix.hpp
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(APPDIR)/mk/app.mk
|
include $(APPDIR)/mk/app.mk
|
||||||
|
|||||||
@@ -167,9 +167,13 @@ else
|
|||||||
PRELINKOBJ = $(LIBNAME).pre.o
|
PRELINKOBJ = $(LIBNAME).pre.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# The archive the prelinked object will be linked into
|
||||||
# XXX does WINTOOL ever get set?
|
# XXX does WINTOOL ever get set?
|
||||||
ifeq ($(WINTOOL),y)
|
ifeq ($(WINTOOL),y)
|
||||||
INCDIROPT = -w
|
INCDIROPT = -w
|
||||||
|
BIN = "$(shell cygpath -w $(APPDIR)/libapps$(LIBEXT))"
|
||||||
|
else
|
||||||
|
BIN = "$(APPDIR)/libapps$(LIBEXT)"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user