From cb22df87a2c3ba36fffc2d7816a6ed3e7d50ad4c Mon Sep 17 00:00:00 2001 From: Luciano Dittgen Date: Tue, 8 Sep 2026 15:05:52 -0300 Subject: qoriq_build_64bit_kernel: Document the multilib promotion block The block conditionally replaces KERNEL_CC, KERNEL_LD and KERNEL_AR. A declarative form would have to state what those keep when the flag is unset, which means restating the kernel.bbclass defaults inside this class. DEPENDS is also read before the task graph exists, so a task cannot carry any of this. Signed-off-by: Luciano Dittgen --- classes/qoriq_build_64bit_kernel.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/classes/qoriq_build_64bit_kernel.bbclass b/classes/qoriq_build_64bit_kernel.bbclass index f13aac973..575ac3ca9 100644 --- a/classes/qoriq_build_64bit_kernel.bbclass +++ b/classes/qoriq_build_64bit_kernel.bbclass @@ -3,7 +3,9 @@ REQUIRED_DISTRO_FEATURES:e6500 += "multiarch" # BUILD_64BIT_KERNEL is this class's interface, not a machine override: any # machine that sets it gets the promotion, and in-tree only e6500.inc does. -# nooelint: oelint.vars.noncoreoverride +# KERNEL_CC, KERNEL_LD and KERNEL_AR are replaced only when the flag is set; +# expressing that declaratively means restating kernel.bbclass defaults here. +# nooelint: oelint.vars.noncoreoverride oelint.task.noanonpython python () { promote_kernel = d.getVar('BUILD_64BIT_KERNEL', False) if promote_kernel == "1": -- cgit v1.2.3-54-g00ecf