Feature #1784

Integrate toolchain build in Android build system

Added by Wolfgang Wiedmeyer about 1 month ago. Updated about 1 month ago.

Status:New Start date:04/09/2017
Priority:Normal Due date:
Assignee:- % Done:


Category:Build system
Target version:Replicant 6.0
Resolution: Device:


Currently, a simple script takes care of building the toolchain. The script needs to be converted to Android Makefiles, so parts of the toolchain can be built e.g. with make gcc-android or the whole toolchain can simply be built by issuing make toolchain.

A build error happens when the toolchain is built after running . build/envsetup.sh in the same shell. So the toolchain always needs to be built in a newly opened shell where no Android build environment variables are already set.

The first step is to identify the environment variable(s) from envsetup.sh that break the toolchain build. Then the toolchain is buildable in the Android build environment and it's possible to write the Makefiles.

Related issues

related to Feature #837: Replicant Native Development Kit (NDK) build and release New 02/20/2014


Updated by Wolfgang Wiedmeyer about 1 month ago

Toolchain documents the build script and provides more background info.

Also available in: Atom PDF