Open solamour opened 5 years ago
1) Download Android NDK r18b.
2) Create stand-alone toolchain. For example, ~/android-ndk-r18b/build/tools/make_standalone_toolchain.py --arch arm64 -v --install-dir ~/android-toolchain64.
~/android-ndk-r18b/build/tools/make_standalone_toolchain.py --arch arm64 -v --install-dir ~/android-toolchain64
3) export TOOLCHAIN=~/android-toolchain64
export TOOLCHAIN=~/android-toolchain64
4) ./build-dropbear-android.sh. The build script silently exits after Generating required files....
./build-dropbear-android.sh
Generating required files...
Upon closer look, modifying variables in build-dropbear-android.sh finished the build.
build-dropbear-android.sh
HOST=aarch64-linux-android COMPILER=${TOOLCHAIN}/bin/aarch64-linux-android-gcc STRIP=${TOOLCHAIN}/bin/aarch64-linux-android-strip
1) Download Android NDK r18b.
2) Create stand-alone toolchain. For example,
~/android-ndk-r18b/build/tools/make_standalone_toolchain.py --arch arm64 -v --install-dir ~/android-toolchain64
.3)
export TOOLCHAIN=~/android-toolchain64
4)
./build-dropbear-android.sh
. The build script silently exits afterGenerating required files...
.Upon closer look, modifying variables in
build-dropbear-android.sh
finished the build.