mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 16:51:16 +08:00
Add RPI2 definitions for DF
This commit is contained in:
1 parent
bcaa990220
commit
e185352f56
1 file changed
+4
@@ -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