move modules/systemlib to lib/systemlib

This commit is contained in:
Daniel Agar 2019-01-22 20:49:20 -05:00 committed by Lorenz Meier
parent ce0dd41a11
commit 843443248e
32 changed files with 4 additions and 10 deletions

View File

@ -418,7 +418,6 @@ include(px4_add_library)
add_subdirectory(src/lib EXCLUDE_FROM_ALL)
add_subdirectory(src/platforms EXCLUDE_FROM_ALL)
add_subdirectory(src/modules/systemlib EXCLUDE_FROM_ALL) # TODO: split into libraries in platform layer
add_subdirectory(src/modules/uORB EXCLUDE_FROM_ALL) # TODO: platform layer
add_subdirectory(src/drivers/boards EXCLUDE_FROM_ALL)

View File

@ -10,10 +10,10 @@ fi
exec find boards src platforms \
-path platforms/nuttx/NuttX -prune -o \
-path src/drivers/uavcan/libuavcan -prune -o \
-path src/lib/DriverFramework -prune -o \
-path src/lib/ecl -prune -o \
-path src/lib/matrix -prune -o \
-path src/lib/systemlib/uthash -prune -o \
-path src/modules/micrortps_bridge/micro-CDR -prune -o \
-path src/modules/systemlib/uthash -prune -o \
-path src/drivers/uavcan/libuavcan -prune -o \
-type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) | grep $PATTERN

View File

@ -53,6 +53,7 @@ add_subdirectory(perf)
add_subdirectory(pid)
add_subdirectory(pwm_limit)
add_subdirectory(rc)
add_subdirectory(systemlib)
add_subdirectory(terrain_estimation)
add_subdirectory(tunes)
add_subdirectory(version)

View File

@ -50,10 +50,4 @@ else()
)
endif()
# TODO: find a better way to do this
if (NOT "${PX4_BOARD}" MATCHES "px4_io")
px4_add_library(systemlib ${SRCS})
else()
add_library(systemlib ${PX4_SOURCE_DIR}/src/platforms/empty.c)
add_dependencies(systemlib prebuild_targets)
endif()
px4_add_library(systemlib ${SRCS})