mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Fix a build breaker, remove C*HDRS as they aren't used.
This commit is contained in:
parent
1c63eda98b
commit
dba244a8d4
@ -43,11 +43,4 @@ CXXSRCS = block/Block.cpp \
|
||||
blocks.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
|
||||
|
||||
@ -42,14 +42,6 @@ CXXSRCS = math/test/test.cpp \
|
||||
math/Dcm.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
|
||||
# current makefile name, since app.mk needs it.
|
||||
@ -61,14 +53,10 @@ ifeq ($(CONFIG_ARCH_CORTEXM4)$(CONFIG_ARCH_FPU),yy)
|
||||
INCLUDES += math/arm
|
||||
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
|
||||
endif
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
@ -167,9 +167,13 @@ else
|
||||
PRELINKOBJ = $(LIBNAME).pre.o
|
||||
endif
|
||||
|
||||
# The archive the prelinked object will be linked into
|
||||
# XXX does WINTOOL ever get set?
|
||||
ifeq ($(WINTOOL),y)
|
||||
INCDIROPT = -w
|
||||
BIN = "$(shell cygpath -w $(APPDIR)/libapps$(LIBEXT))"
|
||||
else
|
||||
BIN = "$(APPDIR)/libapps$(LIBEXT)"
|
||||
endif
|
||||
|
||||
############################################################################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user