commit c1ed3900b31878695aa5839c3fb0b5b4cf88f8e0 parent 526da9fd657b37c4a1e29571bb0893ce7213a600 Author: sin <sin@2f30.org> Date: Fri, 6 Sep 2013 08:59:26 +0100 Make cross-scripts/ Diffstat:
M | build | | | 10 | ++-------- |
A | cross-scripts/musl | | | 16 | ++++++++++++++++ |
A | cross/empty | | | 0 | |
D | cross/musl-0.9.13.tar.gz | | | 0 |
4 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/build b/build @@ -20,14 +20,8 @@ popd mkdir -p src mkdir -p kernel -# Build and install musl-gcc -pushd cross -tar xzf musl-0.9.13.tar.gz -pushd musl-0.9.13 -./configure --prefix=$top/cross -make -j2 && make install -popd -popd +export pkg=musl +. cross-scripts/$pkg PATH=$top/cross/bin:$PATH export PATH diff --git a/cross-scripts/musl b/cross-scripts/musl @@ -0,0 +1,16 @@ +url=http://dl.2f30.org/morpheus-pkgs/musl-0.9.13.tar.gz +echo $url + +# Fetch musl +wget -c $url -O src/musl-0.9.13.tar.gz + +# Unpack musl +pushd src +[ -d musl-0.9.13 ] || tar xzf musl-0.9.13.tar.gz +popd + +# Build musl +pushd src/musl-0.9.13 +./configure --prefix=$top/cross +make -j2 && make install +popd diff --git a/cross/empty b/cross/empty diff --git a/cross/musl-0.9.13.tar.gz b/cross/musl-0.9.13.tar.gz Binary files differ.