Skip to content
Snippets Groups Projects
Commit 420889d0 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

build: added motor_test, and fixed build checks for PX4

parent 22cb1c85
No related branches found
No related tags found
No related merge requests found
...@@ -53,13 +53,16 @@ MODULES += systemcmds/tests ...@@ -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 ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment