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
|
||||
|
||||
|
||||
# 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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue