tsunxi: enable mali build. - arm-sdk - os build toolkit for various embedded devices
 (HTM) git clone https://git.parazyd.org/arm-sdk
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 28a46dc9ddbf8bb94aafbcb4229550cbfd10e7a5
 (DIR) parent e06a8785a1a66f61355c58e39a4b6df2e7bfc488
 (HTM) Author: parazyd <parazyd@dyne.org>
       Date:   Fri,  9 Feb 2018 12:05:01 +0100
       
       sunxi: enable mali build.
       
       Diffstat:
         M boards/sunxi.sh                     |      23 ++++++++++-------------
       
       1 file changed, 10 insertions(+), 13 deletions(-)
       ---
 (DIR) diff --git a/boards/sunxi.sh b/boards/sunxi.sh
       t@@ -100,19 +100,16 @@ EOF
                        -d $strapdir/boot/boot.cmd $strapdir/boot/boot.scr || zerr
        
        
       -#    notice "building mali"
       -#    export CROSS_COMPILE=$compiler
       -#    export KDIR="$R/tmp/kernels/$device_name/${device_name}-linux"
       -#    clone-git "$sunxi_mali" "$R/tmp/kernels/${device_name}/sunxi-mali"
       -#    pushd "$R/tmp/kernels/${device_name}/sunxi-mali"
       -#            git checkout -- .
       -#        git clean -xdf
       -#        ./build.sh -r r6p2 -b
       -#        pushd r6p2/src/devicedrv/mali
       -#        make
       -#        sudo cp mali.ko ${strapdir}/lib/modules/*/kernel/drivers/gpuhh
       -#        popd
       -#    popd
       +        notice "building mali"
       +        export CROSS_COMPILE=$compiler
       +        export KDIR="$R/tmp/kernels/$device_name/${device_name}-linux"
       +        clone-git "$sunxi_mali" "$R/tmp/kernels/${device_name}/sunxi-mali"
       +        pushd "$R/tmp/kernels/${device_name}/sunxi-mali"
       +                git checkout -- .
       +                git clean -xdf
       +                ./build.sh -r r6p2 -b || zerr
       +                sudo cp mali.ko ${strapdir}/lib/modules/*/kernel/drivers/gpu
       +        popd
        
            postbuild-clean
        }