Browse Source

Fix a build breaker, remove C*HDRS as they aren't used.

sbg
px4dev 12 years ago
parent
commit
dba244a8d4
  1. 7
      apps/controllib/Makefile
  2. 12
      apps/mathlib/Makefile
  3. 4
      apps/mk/app.mk

7
apps/controllib/Makefile

@ -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

12
apps/mathlib/Makefile

@ -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

4
apps/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
############################################################################ ############################################################################

Loading…
Cancel
Save