Relocate DF_RPI define

This commit is contained in:
Kabir Mohammed 2017-02-04 13:47:49 +05:30 committed by Lorenz Meier
parent 8b1ca2ea9b
commit cd902d32ef
2 changed files with 1 additions and 4 deletions

View File

@ -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
)

View File

@ -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})