Skip to content

Patch sources and generate files for BusyBox on Android

Notifications You must be signed in to change notification settings

Maantje92/ndk-box-kitchen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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://github.com/SELinuxProject/selinux.git jni/selinux
git clone https://android.googlesource.com/platform/external/pcre jni/pcre

Currently, the script supports BusyBox version 1.34.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

Most files in patches are copied/modified from osm0sis/android-busybox-ndk. Theses patches are required for a fully functioning BusyBox building with NDK + Bionic libc.

About

Patch sources and generate files for BusyBox on Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 61.2%
  • Shell 35.8%
  • C 3.0%