![](/img/trans.png)
[英]Finding architecture info on linux/android kernel while building kernel code
[英]Android kernel building on linux
为了创建可引导的android映像,我显然使用./build.sh -p sun4i_crane -k 3.0
构建了Linux内核。 然后为构建Android Sources设置环境source build/envsetup.sh
用于选择平台“午餐”命令
root@arge16-HP-600B:/home/arge1-6/workspace/extroid/android4.0# lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_maguro-userdebug
5. full_tuna-userdebug
6. crane_3g-eng
7. crane_evb_mmc
8. crane_m1003h6-eng
9. crane_MID9742_sc3052-userdebug
10. full_panda-eng
选择7号mmc,然后在下面收到此警告
Which would you like? [full-eng] 7
** Invalid variant: 'crane_evb_mmc'
** Must be one of user userdebug eng
我发现这个crane_evb_mmc
这个文件是一个makefile并将其更改为crane_evb
然后我这次得到了这个警告
Which would you like? [full-eng] 7
build/core/product_config.mk:193: *** _nic.PRODUCTS.[[device/softwinner/crane-evb_mmc/crane_evb_mmc.mk]]: "device/softwinner/crane-evb_mmc/crane_evb_mmc.mk" does not exist. Stop.
** Don't have a product spec for: 'crane_evb_mmc'
** Do you have the right repo manifest?
** Invalid variant: 'crane_evb_mmc'
** Must be one of user userdebug eng
我搜索这个,有一个解决方案,如下所示编辑我的AndroidProducts.mk,但没有任何修改
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/crane_evb_mmc.mk \
有人建议吗?
lunch
期望您提供一块木板( crane_evb_mmc
)以及一个构建变体{user,userdebug,eng}
。 仅提供板子是不够的。 尝试:
$ lunch crane_evb_mmc-eng
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.