mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 01:53:34 +08:00
Added posix-arm target and refactored toolchain_* files
The toolchain_* files are target OS specific so they were moved to the target OS subdir. The gcc_version.* files are only cleared once per make instantiation so a build that creates multiple HW targets will try to link with an incompatible .o file (i.e. x86 build linking ARM .o). I created posix-arm as a separate target to fix this problem. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -52,6 +52,9 @@ endif
|
||||
ifeq ($(PX4_TARGET_OS),posix)
|
||||
SRCS += uORBTest_UnitTest.cpp
|
||||
endif
|
||||
ifeq ($(PX4_TARGET_OS),posix-arm)
|
||||
SRCS += uORBTest_UnitTest.cpp
|
||||
endif
|
||||
|
||||
SRCS += objects_common.cpp \
|
||||
Publication.cpp \
|
||||
|
||||
Reference in New Issue
Block a user