cross

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

commit 8437db7241ce7e4fbe665d9bbe8fa8c49066b871
parent 3dbb4fecaab376e357dfb8f4a982e14b47ce4916
Author: z3bra <willyatmailoodotorg>
Date:   Fri Jan 29 19:33:58 2016

Use saner defaults for directories

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

diff --git a/cross-gcc b/cross-gcc @@ -21,9 +21,9 @@ MARCH=$(uname -m) TARGET=${TARGET:-${MARCH}-linux-musl} PREFIX=${PREFIX:-/opt/cross} -BLDDIR=${BLDDIR:-${HOME}/dump/work/build} -SRCDIR=${SRCDIR:-${HOME}/dump/work/source} -PATCHD=${PATCHD:-${HOME}/devel/cross/patches} +BLDDIR=${BLDDIR:-/tmp/cross/build} +SRCDIR=${SRCDIR:-/tmp/cross/source} +PATCHD=${PATCHD:-${PWD}/patches} # compilation variables CFLAGS="-Os -fomit-frame-pointer -pipe" diff --git a/cross-pcc b/cross-pcc @@ -18,10 +18,10 @@ # cross compiler environment MARCH=$(uname -m) TRIPLE=${TRIPLE:-${MARCH}-linux-musl} -PREFIX=${PREFIX:-/opt/cross/pcc} -BLDDIR=${BLDDIR:-${HOME}/dump/work/build} -SRCDIR=${SRCDIR:-${HOME}/dump/work/source} -PATCHD=${PATCHD:-${HOME}/devel/cross/patches} +PREFIX=${PREFIX:-/opt/cross} +BLDDIR=${BLDDIR:-/tmp/cross/build} +SRCDIR=${SRCDIR:-/tmp/cross/source} +PATCHD=${PATCHD:-${PWD}/patches} # compilation variables PATH="${PREFIX}/bin:${PATH}"