mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Make nuttx the default PX4_TARGET_OS
This should make the CI builder happy again. Also fixed another itdef that should have been ifeq Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -33,6 +33,8 @@
|
|||||||
# Path and tool setup
|
# Path and tool setup
|
||||||
#
|
#
|
||||||
|
|
||||||
|
export PX4_TARGET_OS ?= nuttx
|
||||||
|
|
||||||
# PX4_TARGET_OS can be nuttx, linux, or qurt
|
# PX4_TARGET_OS can be nuttx, linux, or qurt
|
||||||
ifeq ($(PX4_TARGET_OS),)
|
ifeq ($(PX4_TARGET_OS),)
|
||||||
$(error Use: make PX4_TARGET_OS=<target> where <target> is nuttx, linux, or qurt)
|
$(error Use: make PX4_TARGET_OS=<target> where <target> is nuttx, linux, or qurt)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
MODULE_COMMAND = rgbled
|
MODULE_COMMAND = rgbled
|
||||||
|
|
||||||
ifdef ($(PX4_TARGET_OS),nuttx)
|
ifeq ($(PX4_TARGET_OS),nuttx)
|
||||||
SRCS = rgbled.cpp
|
SRCS = rgbled.cpp
|
||||||
else
|
else
|
||||||
SRCS = rgbled_linux.cpp
|
SRCS = rgbled_linux.cpp
|
||||||
|
|||||||
Reference in New Issue
Block a user