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

Loading…
Cancel
Save