mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08: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:
parent
4749974d5c
commit
0b649204b0
@ -33,6 +33,8 @@
|
||||
# Path and tool setup
|
||||
#
|
||||
|
||||
export PX4_TARGET_OS ?= nuttx
|
||||
|
||||
# PX4_TARGET_OS can be nuttx, linux, or qurt
|
||||
ifeq ($(PX4_TARGET_OS),)
|
||||
$(error Use: make PX4_TARGET_OS=<target> where <target> is nuttx, linux, or qurt)
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
MODULE_COMMAND = rgbled
|
||||
|
||||
ifdef ($(PX4_TARGET_OS),nuttx)
|
||||
ifeq ($(PX4_TARGET_OS),nuttx)
|
||||
SRCS = rgbled.cpp
|
||||
else
|
||||
SRCS = rgbled_linux.cpp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user