This repo contains all the source code used for https://github.com/bpetri/nativeLoad.
- Celix source & Celix bundles source
- Demonstrator bundles source
To build this for android follow the guide below.
REQUIRED LIBRARIES:
- automake
- build-essential
- wget
- curl
- cmake
- git
- texinfo
- libtool
In order to crosscompile you first need to download the latest android-ndk http://developer.android.com/ndk/index.html Then set your NDK_HOME variable to the folder where the ndk is located.
- To build the required toolchains for arm armv7a and armv8a run the toolchains.sh from terminal.
- To download/crosscompile the required libraries run the libraries.sh.
- To crosscompile celix run the celix.sh (Requires celix source to be in the same folder as the script!)
- To crosscompile demonstrator run the demonstrator.sh (Requires demonstrator source to be in the same folder as the script!)
Correct order in short:
toolchains.shlibraries.shcelix.shdemonstrator.sh
All the crosscompiled libraries will be located in compiled/architecture. The downloaded libraries used for crosscompiling can be found in libs. the used toolchains can be found in toolchain and toolchain64.
* Make sure to execute all the scripts from the directory they're located.
* armv8a is experimental