cross

cross-compilation toolchain using musl libc
git clone git://z3bra.org/cross
Log | Files | Refs | README

commit 51e97cfd4c38433feb30a234cf83cae7c058ab64
parent 3c6c063a002825ce1042796b27e094a46412ad12
Author: z3bra <willyatmailoodotorg>
Date:   Tue Feb  2 13:01:58 2016

Use current directory for everything

Diffstat:
 cross-gcc |  4 ++--
 cross-pcc | 11 ++++++-----
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/cross-gcc b/cross-gcc @@ -21,8 +21,8 @@ MARCH=$(uname -m) TARGET=${TARGET:-${MARCH}-linux-musl} PREFIX=${PREFIX:-/opt/cross} -BLDDIR=${BLDDIR:-/tmp/cross/build} -SRCDIR=${SRCDIR:-/tmp/cross/source} +BLDDIR=${BLDDIR:-${PWD}/tmp/build} +SRCDIR=${SRCDIR:-${PWD}/tmp/source} PATCHD=${PATCHD:-${PWD}/patches} # compilation variables diff --git a/cross-pcc b/cross-pcc @@ -19,8 +19,8 @@ MARCH=$(uname -m) TRIPLE=${TRIPLE:-${MARCH}-linux-musl} PREFIX=${PREFIX:-/opt/cross} -BLDDIR=${BLDDIR:-/tmp/cross/build} -SRCDIR=${SRCDIR:-/tmp/cross/source} +BLDDIR=${BLDDIR:-${PWD}/tmp/build} +SRCDIR=${SRCDIR:-${PWD}/tmp/source} PATCHD=${PATCHD:-${PWD}/patches} # compilation variables @@ -32,10 +32,11 @@ LDFLAGS="-Wl,--as-needed" MAKEFLAGS="-j8" # versions -PCCV=${PCCV:-20160123} +TODAY=$(date +%Y%m%d) +PCCV=${PCCV:-${TODAY}} BINV=${BINV:-2.25} -MUSLV=${MUSLV:-1.1.10} -KERNV=${KERNV:-4.1.4} +MUSLV=${MUSLV:-1.1.12} +KERNV=${KERNV:-4.4} # source mirrors