如何制作do_configure的bitbake打印选项

时间:2017-06-14 10:17:29

标签: yocto bitbake openembedded

我在使用openembedded with bitbake交叉编译Qt5 for beaglebone时遇到了麻烦。我认为在步骤do_configure中并非所有内容都是从我的* .bbappend传递的,并且没有安装任何平台插件(我需要' linuxfb')。

我的问题是:如何制作传递给./configure的参数的bitbake打印列表?

2 个答案:

答案 0 :(得分:3)

有几种方法可以获得这些信息,我建议您查看recipe work directory

  • temp / log.do_configure包含配置任务日志,该日志应列出确切的./configure-command
  • 构建/包含项目自己的构建系统artefacts

bitbake -e <recipe> | grep <VARIABLE>非常有用,如果你想知道最终的变量值是什么(如果你正在修改packageconfig,请检查例如PACKAGECONFIG和PACKAGECONFIG_CONFARGS值。)

答案 1 :(得分:0)

do_install() {
        install -d ${D}${bindir}
        install -m 0755 sample ${D}${bindir}
}
install -d treat all arguments as directory names. Here what is ${D} ?
and what is ${bindir}
I want to change ${bindir}. I tried in different ways to modify ${bindir}.
I studied below content , but how to change ???
During the installation process, you might need to modify some of the installed files to suit the target layout. For example, you might need to replace hard-coded paths in an initscript with values of variables provided by the build system, such as replacing /usr/bin/ with ${bindir}.