URI: 
       tbetter handling of toolchains - arm-sdk - os build toolkit for various embedded devices
  HTML git clone https://git.parazyd.org/arm-sdk
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 9096c0b5b4160e2c4642485614203f80b3e1d1ef
   DIR parent ba1d9855aad5ae4414ba11dbb87584b6187f41ad
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Fri, 27 Oct 2017 17:57:01 +0200
       
       better handling of toolchains
       
       Diffstat:
         M config                              |       8 ++++----
         M sdk                                 |      12 +++++++++---
       
       2 files changed, 13 insertions(+), 7 deletions(-)
       ---
   DIR diff --git a/config b/config
       t@@ -25,16 +25,16 @@
        MAKEOPTS="-j$(( $(grep -c 'processor' /proc/cpuinfo) + 1 ))"
        
        ## devuan packaged toolchain
       -#compiler="arm-none-eabi-"
       +devuantc="arm-none-eabi-"
        
        ## linaro armhf toolchain
       -#compiler="arm-linux-gnueabihf-"
       +armhftc="arm-linux-gnueabihf-"
        
        ## linaro armel toolchain
       -#compiler="arm-linux-gnueabi-"
       +armeltc="arm-linux-gnueabi-"
        
        ## linaro arm64 toolchain
       -#compiler="aarch64-linux-gnu-"
       +arm64tc="aarch64-linux-gnu-"
        
        export PATH="$R/gcc/linaro-armhf/bin:$R/gcc/linaro-armel/bin:$R/gcc/linaro-arm64/bin"
        export PATH="$PATH:/usr/sbin:/sbin:/usr/bin:/bin"
   DIR diff --git a/sdk b/sdk
       t@@ -102,7 +102,7 @@ load() {
        
                [[ -f $boardlib ]] || { die "no valid boards specified"; exit 1 }
                [[ -f $oslib    ]] || { die "no valid distro specified"; exit 1 }
       -        [[ -f $blendlib ]] || { warn "no valid blend specified" }
       +        [[ -f $blendlib ]] || { act "no blend specified" }
        
                source $boardlib ## XXX: remove this line
                source $oslib
       t@@ -118,10 +118,16 @@ load() {
                strapdir="$workdir/bootstrap"
                mkdir -p $strapdir
        
       +        case "$arch" in
       +                armhf) export compiler="$armhftc";;
       +                armel) export compiler="$armeltc";;
       +                arm64) export compiler="$arm64tc";;
       +                *) die "invalid architecture in board script"; exit 1;;
       +        esac
       +        [[ -n "$USEDEVUANTC" ]] && export compiler="$devuantc"
       +
                export LANG=C
                export LC_ALL=C
       -        export ARCH=arm
       -        export CROSS_COMPILE="$compiler"
        
                source $R/lib/zuper/zuper.init
        }