现在的位置: 首页 > 综合 > 正文

Android kernel x86 编译方法

2013年07月30日 ⁄ 综合 ⁄ 共 344字 ⁄ 字号 评论关闭

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

抱歉!评论已关闭.