【问题标题】:In QEMU Bitbake native Environment where to find the make analyze output在 QEMU Bitbake 原生环境中,在哪里可以找到 make 分析输出
【发布时间】:2016-08-15 01:47:19
【问题描述】:

我正在 QEMU 设置中运行我的项目。更改了原生组件的 bitbake 配方以支持“make analyze”和“make check”。

Issued Below commands:

bitbake -c clean <component_name-native>
bitbake -c compile <component_name-native>
bitbake -c analyze <component_name-native>
bitbake -c check <component_name-native>

在该位置运行命令

rvea@rtscl076[/data/users/project/poky/build]

上述命令没有错误。

我的问题是在哪里可以找到为组件存储的分析输出日志。这样我就可以更正为特定组件发现的错误。

提前致谢!!

【问题讨论】:

    标签: makefile native qemu bitbake


    【解决方案1】:

    首先,你确定这些命令真的被执行了吗? 尝试使用 -f(强制)选项以确保:

    bitbake -c <task> -f <target>
    

    其次,查看参考手册,其中提供了有关在哪里可以找到每个任务的日志文件的信息以及一些调试提示:Yocto Project Reference Manual - Debugging Build Failures

    【讨论】:

    • 是的,我确定它已执行.. 参考手册没有说明分析/检查日志的位置。我也想知道 BB 中的 gcovr 结果...
    • 对于特定组件的日志,请尝试搜索:${WORKDIR}/temp/log.do_taskname.pid。其中 taskname 将代表真正的任务,例如 do_compile。WORKDIR 定义为:${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE }${PV}-${PR}。现在让我们省略细节并引用参考手册:As an example (...) suppose your recipe is named foo_1.3.0-r0.bb. In this case, the work directory the build system uses to build the package would be as follows: poky/build/tmp/work/qemux86-poky-linux/foo/1.3.0-r0 然后只需转到 temp/ 目录并检查日志。
    猜你喜欢
    • 2012-10-25
    • 2022-10-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多