Android work in progress

Hin-Tak Leung htl10 at users.sourceforge.net
Thu Sep 8 03:02:43 UTC 2011


--- On Wed, 7/9/11, Gianluigi Tiesi <sherpya at netfarm.it> wrote:

> Hi,
> 
> I currently have a working native android build of master.
> I'm attaching needed changes, but right now it's a rough
> way to build since I need some info about the current build
> system and suggestions.
> You also need mntent patch (as also spotted in this ml)
> 
> It's buildable with standard ndk, a link in toolchain is
> needed to select the correct libraries:

See the thread leading up to this mail:
http://lists.busybox.net/pipermail/busybox/2011-August/076563.html
In particular, all your workarounds about ndk toolchain is not necessary:
the ndk ships a script which assembles the bits into a native standalone toolchain
build/tools/make-standalone-toolchain.sh

> - the correct ifdef should be __BIONIC__, __ANDROID__ or
> similar should be checked for kernel stuff

See my take on it, and see platform.h

> - makefile: LDLIBS += m crypt
>   bionic does not have -lcrypt, how to make it
> conditional?

I made it conditional on the compiler's stem. See my patch.




More information about the busybox mailing list