Add instructions for Android (#506)

* Add instructions for Android

Co-authored-by: eboasson <eb@ilities.com>
Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
Jeroen Koekkoek 2020-05-06 12:53:56 +02:00 committed by GitHub
parent 209edf0efb
commit 45a5030683
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 162 additions and 0 deletions

View file

@ -62,6 +62,10 @@ if(WITH_FREERTOS)
set(system_name freertos)
elseif(APPLE)
set(system_name darwin)
elseif(ANDROID)
# FIXME: Not correct, but will do for the short-term. A better way would be
# fallback to linux, and then posix.
set(system_name linux)
else()
string(TOLOWER ${CMAKE_SYSTEM_NAME} system_name)
endif()