Froyoporting、供应商和device 文件夹,并使用 Tapas 为设备构建
我尝试为给定的开发板构建 Froyo,但我不知道如何配置源代码树,特别是应该将板特定代码和板配置 mkf 文件放在哪里(供应商或设备中)?
我首先将我的主板特定代码和配置文件放入供应商文件夹中:
vendor\cpyname\the_product_1\
,其中 BoardConfig.mk 描述了我的主板配置。
然后,我使用 vendor\cpyname\product\
和 the_product_1.mk 来启动源树构建。
无法使用 Tapas 构建,在提供产品名称(the_product_1)时,我收到错误
build/core/product_configuration.mk
the_product_1 not found.
我也尝试使用设备文件夹,例如:
device\the_product_1\ with BoardConfig.mk,
and device\the_product_1\product\ with the_product_1.mk
Tapas 给出相同的结果。
请注意,第一个配置可以使用 make PRODUCT-the_product_1-eng 构建和生成图像。
我个人也发现构建过程相当晦涩且缺少文档。请帮忙:)
莱昂内尔
i try to build Froyo for a given dev board, but i don't know how to configure the source tree, especially where should put the board specific code and the board configuration mkf ile, either in vendor or device ?
I first put my board specific code and config file in the vendor folder as:
vendor\cpyname\the_product_1\
, with BoardConfig.mk that describe my board configuration.
I then have vendor\cpyname\product\
with the_product_1.mk to start the source tree build.
can't build with tapas, when giving product name (the_product_1), i get an error
build/core/product_configuration.mk
the_product_1 not found.
I also try with the device folder, like:
device\the_product_1\ with BoardConfig.mk,
and device\the_product_1\product\ with the_product_1.mk
tapas give the same result.
Note that first configuration can build and generate image with make PRODUCT-the_product_1-eng
I also personally find the build process quite obscure and missing documentation. Please help :)
Lionel
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Froyo 和后续使用设备而不是供应商目录,您会在那里找到示例。
Froyo and the after use devices instead of vendor directory ,you will find sample there.