Message ID | 20250916040927.103722-5-hongxu.jia@windriver.com |
---|---|
State | New |
Headers | show |
Series | [1/8] yocto-space-optimize.inc: move space optimize from recipe webkitgtk | expand |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 0e614c6b21..c21bda8cce 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -830,7 +830,8 @@ include conf/licenses.conf require conf/sanity.conf include conf/bblock.conf -require ${@oe.utils.vartrue('DEBUG_BUILD', 'conf/distro/include/debug_build.inc', '', d)} +# Allow other layers to add their own debug build configurations +include_all ${@oe.utils.vartrue('DEBUG_BUILD', 'conf/distro/include/debug_build.inc', '', d)} ################################################################## # Weak variables (usually to retain backwards compatibility)
When DEBUG_BUILD is enabled, allow other layers to add their own debug build configurations NOTE: this patch depends on bitbake commit [parse: Make include_all support empty variable expansions] [1] [1] https://lists.openembedded.org/g/bitbake-devel/message/18037?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3ACreated%2C%2C%2C20%2C2%2C0%2C115265193%2Cd%253D3&d=3 Suggested-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> --- meta/conf/bitbake.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)