commit 9f0216b59aa3145c460fd57b93faf679dde7b025 parent bade3a3635f7f76ea0151aac3314e51f4e64ff13 Author: sin <sin@2f30.org> Date: Wed, 25 Sep 2013 13:41:37 +0100 Use crossx86-x86_64-linux-musl-0.9.11 to build everything Diffstat:
M | cross-scripts/musl | | | 21 | +++------------------ |
M | prepare-env | | | 2 | +- |
2 files changed, 4 insertions(+), 19 deletions(-)
diff --git a/cross-scripts/musl b/cross-scripts/musl @@ -1,24 +1,9 @@ -url=$mirror/musl-0.9.13.tar.gz +url=$mirror/crossx86-x86_64-linux-musl-0.9.11.tar.xz fetch() { - wget -c $url -O src/musl-0.9.13.tar.gz -} - -unpack() { - pushd src - [ -d musl-0.9.13 ] || tar xzf musl-0.9.13.tar.gz - popd -} - -build() { - pushd src/musl-0.9.13 - ./configure --prefix=$top/cross --syslibdir=$top/cross/lib --disable-shared || return 1 - make -j$nprocs || return 1 - popd + wget -c $url -O src/crossx86-x86_64-linux-musl-0.9.11.tar.xz } install() { - pushd src/musl-0.9.13 - make install || return 1 - popd + tar xJf src/crossx86-x86_64-linux-musl-0.9.11.tar.xz -C $top/cross } diff --git a/prepare-env b/prepare-env @@ -6,5 +6,5 @@ version=0.0 mirror=http://dl.2f30.org/morpheus-pkgs/$arch/$version export top root nprocs mirror -PATH=$top/cross/bin:$PATH +PATH=$top/cross/x86_64-linux-musl/bin:$PATH export PATH