-
-
Save renekliment/707ea4a2dc3f11fc15ed8085f506c57e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
KERNEL_VERSION="4.14.18" | |
KERNEL_SUFFIX="-sunxi" | |
cd "/usr/src/linux-headers-$KERNEL_VERSION-sunxi/mm" | |
wget https://raw.githubusercontent.com/torvalds/linux/master/mm/cma.h | |
cd - | |
git clone https://github.com/mripard/sunxi-mali.git | |
cd sunxi-mali | |
export CROSS_COMPILE=arm-linux-gnueabihf- | |
export KDIR="/lib/modules/$KERNEL_VERSION$KERNEL_SUFFIX/build" | |
./build.sh -r r6p2 -b | |
./build.sh -r r6p2 -i | |
depmod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment