mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +08:00
Add RPI2 definitions for DF
This commit is contained in:
committed by
Lorenz Meier
parent
bcaa990220
commit
e185352f56
@@ -71,6 +71,10 @@ foreach(tool echo patch grep rm mkdir nm genromfs cp touch make unzip)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
add_definitions(
|
||||
-D __RPI2
|
||||
)
|
||||
|
||||
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