summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-09-08 15:05:52 -0300
committerLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-09-10 14:12:25 -0300
commitcb22df87a2c3ba36fffc2d7816a6ed3e7d50ad4c (patch)
treee57dc2493b33c50346385cb3fbf8bbc6e6e2e438
parent58b42364d2317d487256ea344df8c6fb566721df (diff)
downloadmeta-freescale-cb22df87a2c3ba36fffc2d7816a6ed3e7d50ad4c.tar.gz
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 <luciano.dittgen@ossystems.com.br>
-rw-r--r--classes/qoriq_build_64bit_kernel.bbclass4
1 files changed, 3 insertions, 1 deletions
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"
3 3
4# BUILD_64BIT_KERNEL is this class's interface, not a machine override: any 4# BUILD_64BIT_KERNEL is this class's interface, not a machine override: any
5# machine that sets it gets the promotion, and in-tree only e6500.inc does. 5# machine that sets it gets the promotion, and in-tree only e6500.inc does.
6# nooelint: oelint.vars.noncoreoverride 6# KERNEL_CC, KERNEL_LD and KERNEL_AR are replaced only when the flag is set;
7# expressing that declaratively means restating kernel.bbclass defaults here.
8# nooelint: oelint.vars.noncoreoverride oelint.task.noanonpython
7python () { 9python () {
8 promote_kernel = d.getVar('BUILD_64BIT_KERNEL', False) 10 promote_kernel = d.getVar('BUILD_64BIT_KERNEL', False)
9 if promote_kernel == "1": 11 if promote_kernel == "1":