【问题标题】:Android kernel building on linux在 linux 上构建 Android 内核
【发布时间】: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 \

有人有建议吗?

【问题讨论】:

标签: android linux linux-kernel linux-device-driver embedded-linux


【解决方案1】:

lunch 期望您提供板 (crane_evb_mmc) 以及构建变体 {user,userdebug,eng}。仅提供电路板是不够的。试试:

$ lunch crane_evb_mmc-eng

【讨论】:

  • 谢谢@m-ric,没关系
猜你喜欢
  • 2012-04-18
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-10-28
  • 2017-06-06
  • 2021-10-20
  • 1970-01-01
  • 2018-11-14
相关资源
最近更新 更多