Build busybox from source

This commit is contained in:
Daniel Bainton 2014-03-01 22:01:34 +00:00
parent d7905a9c4b
commit 19e8daa0ef
3 changed files with 1043 additions and 4 deletions

1
TODO
View File

@ -11,5 +11,4 @@ Packages
* Create an hwclock service file.
* Create a tinyalsa service file.
* Build musl from source.
* Build busybox from source.
* Build kernel with our cross-compiler.

View File

@ -1,8 +1,10 @@
url="$mirror/busybox"
v="1.22.1"
url="http://www.busybox.net/downloads/busybox-$v.tar.bz2"
build: crossmusl
cd src
chmod +x busybox
cd src/busybox-$v
cp $top/stuff/busybox.config .config
make CC=$CC LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS" busybox
cp busybox "${root}/bin"
cd "${root}/bin"
ln -sf busybox addgroup

1038
stuff/busybox.config Normal file

File diff suppressed because it is too large Load Diff