boards organization

This commit is contained in:
Daniel Agar
2018-11-16 12:52:37 -05:00
committed by David Sidrane
parent c1f851a600
commit f692ad04d0
507 changed files with 9976 additions and 10990 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ set(SRCS
otp.c
)
if(${OS} STREQUAL "nuttx")
if(${PX4_PLATFORM} STREQUAL "nuttx")
list(APPEND SRCS
print_load_nuttx.c
)
@@ -51,7 +51,7 @@ else()
endif()
# TODO: find a better way to do this
if (NOT "${CONFIG}" MATCHES "px4io")
if (NOT "${PX4_BOARD}" MATCHES "px4io")
px4_add_library(systemlib ${SRCS})
else()
add_library(systemlib ${PX4_SOURCE_DIR}/src/platforms/empty.c)