forked from Archive/PX4-Autopilot
Relocate DF_RPI define
This commit is contained in:
parent
8b1ca2ea9b
commit
cd902d32ef
|
@ -8,6 +8,7 @@ include(posix/px4_impl_posix)
|
||||||
add_definitions(
|
add_definitions(
|
||||||
-D__PX4_POSIX_RPI
|
-D__PX4_POSIX_RPI
|
||||||
-D__DF_LINUX # For DriverFramework
|
-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()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
add_definitions(
|
|
||||||
-D __DF_RPI
|
|
||||||
)
|
|
||||||
|
|
||||||
set(LINKER_FLAGS "-Wl,-gc-sections")
|
set(LINKER_FLAGS "-Wl,-gc-sections")
|
||||||
set(CMAKE_EXE_LINKER_FLAGS ${LINKER_FLAGS})
|
set(CMAKE_EXE_LINKER_FLAGS ${LINKER_FLAGS})
|
||||||
set(CMAKE_C_FLAGS ${C_FLAGS})
|
set(CMAKE_C_FLAGS ${C_FLAGS})
|
||||||
|
|
Loading…
Reference in New Issue