【发布时间】:2014-10-21 12:15:02
【问题描述】:
为了创建一个可启动的 android 映像,
我清楚地用./build.sh -p sun4i_crane -k 3.0 构建了linux内核。
然后为 Building 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
选择 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 \
有人有建议吗?
【问题讨论】:
-
您的问题的答案在本书中:shop.oreilly.com/product/0636920021094.do
-
谢谢@m-ric 我会得到这本书
标签: android linux linux-kernel linux-device-driver embedded-linux