繁体   English   中英

尝试将Android AOSP姜饼构建为Motorola Droid

[英]Trying to Build Android AOSP Gingerbread to The Motorola Droid

我正在尝试使用本教程为源代码修补Droid来构建AOSP姜饼,但是却出现此错误:

Nathan-Camposs-MacBook-Pro:AOSP Nathan$ lunch generic_sholes-userdebug
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
build/core/product_config.mk:194: *** _nic.PRODUCTS.[[device/motorola/sholes/sholes.mk]]: "build/target/product/small_base.mk" does not exist.  Stop.

** Don't have a product spec for: 'generic_sholes'
** Do you have the right repo manifest?

Nathan-Camposs-MacBook-Pro:AOSP Nathan$

我究竟做错了什么? 我该怎么办?

在午餐之前运行源代码build / envsetup.sh时,构建系统会从称为vendoretup.sh的文件中收集每种产品的产品规格。 这是我的envsetup.sh中搜索这些文件的行:

# Execute the contents of any vendorsetup.sh files we can find. for f in /bin/ls vendor/*/vendorsetup.sh vendor/*/*/vendorsetup.sh device/*/*/vendorsetup.sh 2> /dev/null

您还应该看到找到的每个产品的脚本的输出。 可能是build / envsetup.sh未找到您的vendoretupup.sh,或者您尚未创建一个定义产品的产品,在这种情况下,请查看其他产品vendoretup.sh脚本以获取启发。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM