mirror of https://github.com/parazyd/arm-sdk.git
sunxi: enable mali build.
This commit is contained in:
parent
e06a8785a1
commit
28a46dc9dd
|
|
@ -100,19 +100,16 @@ EOF
|
||||||
-d $strapdir/boot/boot.cmd $strapdir/boot/boot.scr || zerr
|
-d $strapdir/boot/boot.cmd $strapdir/boot/boot.scr || zerr
|
||||||
|
|
||||||
|
|
||||||
# notice "building mali"
|
notice "building mali"
|
||||||
# export CROSS_COMPILE=$compiler
|
export CROSS_COMPILE=$compiler
|
||||||
# export KDIR="$R/tmp/kernels/$device_name/${device_name}-linux"
|
export KDIR="$R/tmp/kernels/$device_name/${device_name}-linux"
|
||||||
# clone-git "$sunxi_mali" "$R/tmp/kernels/${device_name}/sunxi-mali"
|
clone-git "$sunxi_mali" "$R/tmp/kernels/${device_name}/sunxi-mali"
|
||||||
# pushd "$R/tmp/kernels/${device_name}/sunxi-mali"
|
pushd "$R/tmp/kernels/${device_name}/sunxi-mali"
|
||||||
# git checkout -- .
|
git checkout -- .
|
||||||
# git clean -xdf
|
git clean -xdf
|
||||||
# ./build.sh -r r6p2 -b
|
./build.sh -r r6p2 -b || zerr
|
||||||
# pushd r6p2/src/devicedrv/mali
|
sudo cp mali.ko ${strapdir}/lib/modules/*/kernel/drivers/gpu
|
||||||
# make
|
popd
|
||||||
# sudo cp mali.ko ${strapdir}/lib/modules/*/kernel/drivers/gpuhh
|
|
||||||
# popd
|
|
||||||
# popd
|
|
||||||
|
|
||||||
postbuild-clean
|
postbuild-clean
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue