Patch sources and generate files for BusyBox on Android
Go to file
2024-07-16 08:58:37 -07:00
jni Update external dependencies 2024-07-16 08:58:37 -07:00
patches Update patches and config 2024-07-16 08:40:01 -07:00
.gitignore Update scripts and remove toybox support 2021-09-23 02:11:12 -07:00
busybox.config Update patches and config 2024-07-16 08:40:01 -07:00
busybox.mk Update patches and config 2024-07-16 08:40:01 -07:00
README.md Update external dependencies 2024-07-16 08:58:37 -07:00
run.sh Update run.sh 2024-07-16 08:50:08 -07:00

ndk-box-kitchen

This repo is the kitchen used to create headers and Makefiles for building BusyBox with the command ndk-build in NDK. Scripts in this repo expect to run on Linux, however the generated code and Makefiles can be used on all NDK supported platforms.

Download Sources

Clone the following repos:

git clone https://git.busybox.net/busybox/
git clone https://android.googlesource.com/platform/external/selinux jni/selinux
git clone https://android.googlesource.com/platform/external/pcre jni/pcre

Currently, the script supports BusyBox version 1.36.1, please checkout to the correct tags before running scripts

Busybox

./run.sh patch to apply patches

./run.sh generate to generate required Makefiles and headers

Credits

Some files in patches are modified from osm0sis/android-busybox-ndk.