调试工具
常见 Yocto 构建失败
有关与 QA 问题(例如版本回退)相关的常见构建失败,请参阅验证 QA 问题:版本回退。层排除问题
调试构建
要生成调试构建,请运行以下命令:DEBUG_BUILD 设置为 1 时使用哪些内核 defconfig 和配置片段,请参阅内核配方下的”内核配方”。
以下来自 recipes-kernel/linux/linux-qcom_6.18.bb 的代码片段为正在构建的内核启用调试配置片段:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🚀 QLI Version 2.1.1 is now live ! Switch to new version to check out the latest content
kas shell meta-qcom/ci/<machine-name>.yml:meta-qcom/ci/<distro-name>.yml:meta-qcom/ci/debug.yml
bitbake qcom-multimedia-image
DEBUG_BUILD 设置为 1 时使用哪些内核 defconfig 和配置片段,请参阅内核配方下的”内核配方”。
以下来自 recipes-kernel/linux/linux-qcom_6.18.bb 的代码片段为正在构建的内核启用调试配置片段:
KBUILD_CONFIG_EXTRA:append = " ${@oe.utils.vartrue('DEBUG_BUILD', '${S}/kernel/configs/debug.config', '', d)}"
此页面对您有帮助吗?
