bitbake helloworld创建
来源:互联网 发布:局域网常用网络命令 编辑:程序博客网 时间:2024/05/29 12:10
流程:
1.export PATH2.创建工程目录3.export BBPATH and BBFILES(BBPATH即工程目录) $ BBPATH="<projectdirectory>" $ export BBPATH4.创建conf/bitbike.conf添加内容: TMPDIR = "${TOPDIR}/tmp" CACHE = "${TMPDIR}/cache" STAMP = "${TMPDIR}/stamps" T = "${TMPDIR}/work" B = "${TMPDIR}"
5.创建classes/base.bbclass文件
添加内容:
addtask build6.创建layer:创建mylayer/conf/layers.conf并添加内容: BBPATH .= ":${LAYERDIR}" BBFILES += "${LAYERDIR}/*.bb" BBFILE_COLLECTIONS += "mylayer" BBFILE_PATTERN_mylayer := "^${LAYERDIR}/"7.创建*.bb文件在mylayer目录下创建bb文件,并添加内容:以hello world为例: DESCRIPTION = "Prints Hello World" PN = 'printhello' PV = '1' python do_build() { bb.plain("********************"); bb.plain("* *"); bb.plain("* Hello, World! *"); bb.plain("* *"); bb.plain("********************"); }8.创建conf/bblayer.conf文件并输入我们设置的layer(bb文件和layer.conf文件)所在路径: BBLAYERS ?= " \ /home/<you>/mylayer \ "9.进入工程目录,输入:bitbake printhello
0 0
- bitbake helloworld创建
- bitbake简单的helloworld expamle
- bitbake 入门学习之helloworld
- bitbake简单的helloworld expamle
- Bitbake
- bitbake
- 一步步写bitbake简单的helloworld expamle(2)
- bitbake错误
- bitbake变量
- bitbake常用命令
- 创建Android HelloWorld工程
- 创建RESTEasy helloworld工程
- Dorado创建HelloWorld项目
- 创建HelloWorld项目
- servlet创建HelloWorld
- LayaAir引擎创建helloworld
- spring框架创建helloworld
- SpringMVC创建HelloWorld程序
- Objective-C之run loop详解
- .dll和.lib文件的生成和使用 c++
- mydump导出数据的用法
- Please update ADT to the latest version.
- 不可错过的10个超棒jQuery表单操作代码片段
- bitbake helloworld创建
- 嵌入式 Linux学习之dpkg命令详解以及apt-get命令
- poj 3280
- Apache + Tomcat集群
- 腾讯2013年实习生笔试题目(附答案) C++版
- Cocos2dx输出Log的两种方法
- 把字符串按字典顺序排序
- STL之hash_map
- Hibernate错误 Caused by: org.hibernate.PropertyNotFoundException: Could not find a getter for pnsame i