1. Download Kernel source
Study:
1. Please refer to the AOSP official kernel download address:
http://source.android.com/source/building-kernels.html
2. goto https://android.googlesource.com/kernel/msm.git check which branch your will get,
for Secure Phone please checkout android-msm-hammerhead-3.4-kitkat-mr1 version
commands:
$ git clone https://android.googlesource.com/kernel/msm.git hammerhead-kernel
$ cd hammerhead-kernel
$ git checkout android-msm-hammerhead-3.4-kitkat-mr1
2. Build Kernel
$ cd $(AOSP_PATH)
$ . build/envsetup.sh
$ lunch 12
$ export ARCH=arm
$ export SUBARCH=arm
$ export CROSS_COMPILE=arm-eabi-
$ cd hammerhead-kernel
$ make hammerhead_defconfig
$ make
Study:
1. Please refer to the AOSP official kernel download address:
http://source.android.com/source/building-kernels.html
2. goto https://android.googlesource.com/kernel/msm.git check which branch your will get,
for Secure Phone please checkout android-msm-hammerhead-3.4-kitkat-mr1 version
commands:
$ git clone https://android.googlesource.com/kernel/msm.git hammerhead-kernel
$ cd hammerhead-kernel
$ git checkout android-msm-hammerhead-3.4-kitkat-mr1
2. Build Kernel
$ cd $(AOSP_PATH)
$ . build/envsetup.sh
$ lunch 12
$ export ARCH=arm
$ export SUBARCH=arm
$ export CROSS_COMPILE=arm-eabi-
$ cd hammerhead-kernel
$ make hammerhead_defconfig
$ make
3. Verify Kernel