Patch sources and generate files for BusyBox on Android
Go to file
2019-12-05 16:27:26 -05:00
busybox_patches Remove tls patch which is no longer necessary 2019-12-05 16:27:26 -05:00
jni Update for 1.31.1 2019-10-31 17:45:49 -04:00
toybox_patches Add toybox support 2018-08-12 18:11:33 +08:00
.gitignore Update for new NDK versions 2018-12-25 18:25:08 +08:00
busybox.config Update for 1.31.1 2019-10-31 17:45:49 -04:00
busybox.mk Update for 1.31.1 2019-10-31 17:45:49 -04:00
busybox.sh Use absolute path for pwd 2019-11-02 01:13:52 -04:00
README.md Update README.md 2018-12-25 18:26:13 +08:00
toybox.config Add toybox support 2018-08-12 18:11:33 +08:00
toybox.mk Add toybox support 2018-08-12 18:11:33 +08:00
toybox.sh Update for new NDK versions 2018-12-25 18:25:08 +08:00

ndk-box-kitchen

This repo is the kitchen used to create headers and Makefiles for building *box with the command ndk-build in NDK (more info here).

You have to clone sources of *box to the current directory and checkout to your desired tag before running the scripts here.

Busybox

Building busybox requires an excessive amount of source code patching, and Makefiles are extremely difficult to create.

./busybox.sh patch to apply required patches

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

Toybox

Toybox is used in AOSP, so it is much easier to compile using NDK.

./toybox.sh patch to apply required patches

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