Skip to content

Instantly share code, notes, and snippets.

Created March 13, 2012 13:56
What would you like to do?
Linux kernel build script for P6200
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."
rm -rf usr/initramfs
cp -R ../GT-P6200-initramfs/DXKL3 usr/initramfs
make clean
make modules
cp $(find . -name "*.ko") usr/initramfs/lib/modules/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment