Commit 57edadcb authored by Mathias Jud's avatar Mathias Jud

Android: Bugfix: olsrd dyn_gw plugin not copied correctly

parent 429090be
......@@ -20,9 +20,10 @@ ExternalProject_Add(olsr
CONFIGURE_COMMAND ""
BUILD_COMMAND make NDK_BASE=${NDK_ROOT} NDK_PLATFORM_LEVEL=${NDK_LEVEL} OS=android DEBUG=0 olsrd libs
COMMAND ${CMAKE_COMMAND} -DSRC=<BINARY_DIR>/olsrd -DDEST=${CMAKE_BINARY_DIR}/android/res/raw -P ${CMAKE_SOURCE_DIR}/cmake/FileCopy.cmake
COMMAND ${CMAKE_COMMAND} -DSRC=<BINARY_DIR>/lib/dyn_gw/olsrd_dyn_gw.so.0.5 -DDEST=${CMAKE_BINARY_DIR}/android/res/raw -P ${CMAKE_SOURCE_DIR}/cmake/FileCopy.cmake
COMMAND ${CMAKE_COMMAND} -DSRC=${CMAKE_BINARY_DIR}/android/res/raw/olsrd_dyn_gw.so.0.5 -DDEST=${CMAKE_BINARY_DIR}/android/res/raw/olsrd_dyn_gw_so_0_5 -P ${CMAKE_SOURCE_DIR}/cmake/FileRename.cmake
COMMAND ${CMAKE_COMMAND} -DSRC=<BINARY_DIR>/lib/olsrd_qaul/olsrd_qaul.so.0.1 -DDEST=${CMAKE_BINARY_DIR}/android/res/raw/ -P ${CMAKE_SOURCE_DIR}/cmake/FileCopy.cmake
COMMAND ${CMAKE_COMMAND} -DSRC=${CMAKE_BINARY_DIR}/android/res/raw/olsrd_qaul.so.0.1 -DDEST=${CMAKE_BINARY_DIR}/android/res/raw/olsrd_qaul_so_0_1 -P ${CMAKE_SOURCE_DIR}/cmake/FileRename.cmake
COMMAND ${CMAKE_COMMAND} -DSRC=${CMAKE_BINARY_DIR}/android/res/raw/olsrd_dyn_gw.so.0.5 -DDEST=${CMAKE_BINARY_DIR}/android/res/raw/olsrd_dyn_gw_so_0_5 -P ${CMAKE_SOURCE_DIR}/cmake/FileRename.cmake
INSTALL_COMMAND ""
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment