打开ccache后编译android果然快很多。
make rk3188_sdk_defconfig
触摸屏有问题,然后再吧input底下的touchscreen 屏蔽掉
james@james-OptiPlex-380:~/android/RK3188_Pad/4.2.2_r1/kernel/arch/arm$ find -name *.o
./kernel/sched_clock.o ./kernel/fiq.o ./kernel/smp.o ./kernel/swp_emulate.o ./kernel/entry-common.o ./kernel/stacktrace.o ./kernel/module.o ./kernel/process.o ./kernel/entry-armv.o ./kernel/return_address.o ./kernel/traps.o ./kernel/built-in.o ./kernel/pmu.o ./kernel/irq.o ./kernel/smp_tlb.o ./kernel/debug.o ./kernel/head.o ./kernel/sleep.o ./kernel/signal.o ./kernel/armksyms.o ./kernel/ptrace.o ./kernel/time.o ./kernel/io.o ./kernel/sys_arm.o ./kernel/smp_scu.o ./kernel/init_task.o ./kernel/elf.o ./kernel/setup.o ./kernel/fiqasm.o ./kernel/unwind.o ./vfp/built-in.o ./vfp/vfpdouble.o ./vfp/vfp.o ./vfp/vfpsingle.o ./vfp/entry.o ./vfp/vfpmodule.o ./vfp/vfphw.o ./mm/pgd.o ./mm/context.o ./mm/mmu.o ./mm/flush.o ./mm/mmap.o ./mm/built-in.o ./mm/abort-ev7.o ./mm/highmem.o ./mm/proc-v7.o ./mm/iomap.o ./mm/cache-v7.o ./mm/ioremap.o ./mm/pabort-v7.o ./mm/extable.o ./mm/alignment.o ./mm/dma-mapping.o ./mm/cache-l2x0.o ./mm/idmap.o ./mm/tlb-v7.o ./mm/copypage-v6.o ./mm/fault-armv.o ./mm/init.o ./mm/vmregion.o ./mm/proc-syms.o ./mm/fault.o ./boot/compressed/head.o ./plat-rk/fiq.o ./plat-rk/ddr_freq.o ./plat-rk/mem_reserve.o ./plat-rk/usb_detect.o ./plat-rk/efuse.o ./plat-rk/built-in.o ./plat-rk/dma-pl330.o ./plat-rk/rk_timer.o ./plat-rk/rk_fiq_debugger.o ./plat-rk/cpu.o ./plat-rk/clock.o ./plat-rk/pwm.o ./plat-rk/config.o ./plat-rk/early_printk.o ./plat-rk/iomux.o ./plat-rk/last_log.o ./plat-rk/dvfs.o ./plat-rk/sram.o ./lib/csumpartialcopy.o ./lib/strrchr.o ./lib/memchr.o ./lib/io-writesw-armv4.o ./lib/memcpy.o ./lib/io-readsl.o ./lib/putuser.o ./lib/copy_from_user.o ./lib/io-readsw-armv4.o ./lib/testchangebit.o ./lib/memmove.o ./lib/clear_user.o ./lib/testsetbit.o ./lib/ashldi3.o ./lib/io-writesb.o ./lib/built-in.o ./lib/ucmpdi2.o ./lib/io-readsb.o ./lib/getuser.o ./lib/csumipv6.o ./lib/memzero.o ./lib/copy_to_user.o ./lib/changebit.o ./lib/sha1.o ./lib/csumpartial.o ./lib/backtrace.o ./lib/strnlen_user.o ./lib/io-writesl.o ./lib/muldi3.o ./lib/strncpy_from_user.o ./lib/delay.o ./lib/strchr.o ./lib/testclearbit.o ./lib/csumpartialcopyuser.o ./lib/div64.o ./lib/memset.o ./lib/setbit.o ./lib/ashrdi3.o ./lib/lib1funcs.o ./lib/lshrdi3.o ./lib/clearbit.o ./lib/copy_page.o ./lib/findbit.o ./mach-rk30/headsmp.o ./mach-rk30/cpuidle.o ./mach-rk30/common.o ./mach-rk30/ddr.o ./mach-rk30/pmu.o ./mach-rk30/platsmp.o ./mach-rk30/hotplug.o ./mach-rk30/pm.o ./mach-rk30/reset.o ./mach-rk30/devices.o ./mach-rk3188/board.o ./mach-rk3188/board-rk3188-sdk.o ./mach-rk3188/built-in.o ./mach-rk3188/clock_data.o ./mach-rk3188/rk_timer.o ./mach-rk3188/cpufreq.o ./mach-rk3188/io.o ./mach-rk3188/dvfs.o ./common/gic.o ./common/built-in.o ./common/fiq_glue.o ./common/fiq_debugger.o ./common/fiq_glue_setup.o ./common/pl330.o
确定关键修改代码为mach-rk3188/board-rk3188-sdk.c