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:
Mark Charlebois 2015-04-20 14:35:56 -07:00
parent 4749974d5c
commit 0b649204b0
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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