我在使用openembedded with bitbake交叉编译Qt5 for beaglebone时遇到了麻烦。我认为在步骤do_configure
中并非所有内容都是从我的* .bbappend传递的,并且没有安装任何平台插件(我需要' linuxfb')。
我的问题是:如何制作传递给./configure
的参数的bitbake打印列表?
答案 0 :(得分:3)
有几种方法可以获得这些信息,我建议您查看recipe work directory:
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}.