Add RPI2 definitions for DF

This commit is contained in:
Kabir Mohammed
2016-04-29 21:03:31 +05:30
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})