RPi: just use RPI instead of RPI2.

The reason for this change is that RPi2 and RPi3 are compatible, and
hopefully all differences coming up can be resolved without ifdefs but
at runtime.
This commit is contained in:
Julian Oes
2016-07-16 15:51:00 +01:00
parent 2bf40efe8b
commit fa614a3cc1
14 changed files with 31 additions and 58 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ if ("${BOARD}" STREQUAL "eagle" OR ("${BOARD}" STREQUAL "excelsior"))
DEPENDS mainapp
DEST /home/linaro)
elseif ("${BOARD}" STREQUAL "rpi2")
elseif ("${BOARD}" STREQUAL "rpi")
add_executable(mainapp
${CMAKE_SOURCE_DIR}/src/platforms/posix/main.cpp
@@ -57,7 +57,7 @@ elseif ("${BOARD}" STREQUAL "rpi2")
OS ${OS}
BOARD ${BOARD}
FILES ${CMAKE_CURRENT_BINARY_DIR}/mainapp
${CMAKE_SOURCE_DIR}/posix-configs/rpi2/mainapp.config
${CMAKE_SOURCE_DIR}/posix-configs/rpi/mainapp.config
DEPENDS mainapp
DEST /home/pi)