mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 20:57:36 +08:00
Relocate DF_RPI define
This commit is contained in:
committed by
Lorenz Meier
parent
8b1ca2ea9b
commit
cd902d32ef
@@ -8,6 +8,7 @@ include(posix/px4_impl_posix)
|
||||
add_definitions(
|
||||
-D__PX4_POSIX_RPI
|
||||
-D__DF_LINUX # For DriverFramework
|
||||
-D__DF_RPI # For DriverFramework
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -70,10 +70,6 @@ foreach(tool echo grep rm mkdir nm cp touch make unzip)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
add_definitions(
|
||||
-D __DF_RPI
|
||||
)
|
||||
|
||||
set(LINKER_FLAGS "-Wl,-gc-sections")
|
||||
set(CMAKE_EXE_LINKER_FLAGS ${LINKER_FLAGS})
|
||||
set(CMAKE_C_FLAGS ${C_FLAGS})
|
||||
|
||||
Reference in New Issue
Block a user