cd kernel_imx
git checkout kk4.4.3_2.0.0-ga
ARCH=arm \
CROSS_COMPILE=../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- \
make ${JOBS} distclean
ARCH=arm \
CROSS_COMPILE=../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- \
make ${JOBS} imx_v7_mfg_defconfig
ARCH=arm \
CROSS_COMPILE=../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- \
make uImage LOADADDR=0x10008000
CC kernel/power/earlysuspend.o
kernel/power/earlysuspend.c: In function 'early_suspend':
kernel/power/earlysuspend.c:109:3: error: implicit declaration of function 'android_wake_unlock' [-Werror=implicit-function-declaration]
kernel/power/earlysuspend.c: In function 'request_suspend_state':
kernel/power/earlysuspend.c:173:3: error: implicit declaration of function 'android_wake_lock' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [kernel/power/earlysuspend.o] Error 1
make[1]: *** [kernel/power] Error 2
make: *** [kernel] Error 2