用于创建可启动的Android映像,
我清楚地用./build.sh -p sun4i_crane -k 3.0
构建了linux内核。
然后,对于构建Android源,设置环境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
选择mmc,编号7然后我在下面收到此警告
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,如下所示,但没有chages
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/crane_evb_mmc.mk \
任何人都有建议吗?
答案 0 :(得分:1)
lunch
期望您提供一个主板(crane_evb_mmc
)以及一个构建变体{user,userdebug,eng}
。仅提供电路板是不够的。尝试:
$ lunch crane_evb_mmc-eng