Linux kernel build script for P6200
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/bash | |
function setenv { | |
echo -n "Setting ARM environment..." | |
export ARCH=arm | |
export CROSS_COMPILE="/home/aorth/src/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-" | |
echo " done." | |
echo -n "Setting other environment variables..." | |
# the kernel version we're compiling for | |
# ... this corresponds to DXKL3 | |
export LOCALVERSION="-P6200DXKL3-CL608366" | |
echo " done." | |
} | |
setenv | |
rm -rf usr/initramfs | |
cp -R ../GT-P6200-initramfs/DXKL3 usr/initramfs | |
make clean | |
make modules | |
cp $(find . -name "*.ko") usr/initramfs/lib/modules/ | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment