Browse Source

build: added motor_test, and fixed build checks for PX4

mission-4.1.18
Andrew Tridgell 10 years ago
parent
commit
420889d061
  1. 9
      mk/PX4/config_px4fmu-v2_APM.mk

9
mk/PX4/config_px4fmu-v2_APM.mk

@ -53,13 +53,16 @@ MODULES += systemcmds/tests @@ -53,13 +53,16 @@ MODULES += systemcmds/tests
MODULES += systemcmds/nshterm
# the conditional allows for building with upstream master
# which doesn't have auth
ifneq ($(wildcard systemcmds/auth),)
ifneq ($(wildcard $(PX4_ROOT)/src/systemcmds/auth),)
MODULES += systemcmds/auth
endif
MODULES += systemcmds/mtd
ifneq ($(wildcard systemcmds/reflect),)
ifneq ($(wildcard $(PX4_ROOT)/src/systemcmds/reflect),)
MODULES += systemcmds/reflect
endif
ifneq ($(wildcard $(PX4_ROOT)/src/systemcmds/motor_test),)
MODULES += systemcmds/motor_test
endif
#
# Library modules
@ -70,7 +73,7 @@ MODULES += modules/uORB @@ -70,7 +73,7 @@ MODULES += modules/uORB
MODULES += lib/mathlib/math/filter
# the conditional allows for building with upstream master
# which doesn't have libtomcrypt and libtomfastmath
ifneq ($(wildcard modules/libtomfastmath),)
ifneq ($(wildcard $(PX4_ROOT)/src/modules/libtomfastmath),)
MODULES += modules/libtomfastmath
MODULES += modules/libtomcrypt
endif

Loading…
Cancel
Save