1、下载源码
$repo init -u git://git.android-x86.org/platform/manifest.git -b donut-x86
$repo sync
2、编译kernel
- 使用默认的进行编译 make kernel TARGET_PRODUCT=eeepc
使用了默认的kernel/arch/x86/configs/android-x86_defconfig
- 定制自己的kernel
加入编译规则 build/core/kernel.mk 在kernel/arch/x86/configs 目录下建立文件如test_x86_defconfig
make iso_img TARGET_PRODUCT=eeepc TARGET_KERNEL_CONFIG=test_x86_defconfig