Native linux kernel compilation

From CCTools
Jump to: navigation, search

CCTools has powerful toolchain for native linux kernel compilation.

Example: how to build Cyanogen kernel for Nexus 7 (grouper)

Install packages kernel-dev and wget from Add-ons or from console:

pkgman install kernel-dev wget

Download sources

wget --no-check-certificate  https://github.com/CyanogenMod/android_kernel_asus_grouper/archive/cm-11.0.tar.gz

Unpack sources

tar zxf cm-11.0.tar.gz

Configure kernel

cd android_kernel_asus_grouper-cm-11.0
make cyanogenmod_grouper_defconfig

Customize kernel configuration from menu:

make menuconfig

Build with quad core android:

make -j4
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox