summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-06-29 13:41:14 -0300
committerLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-06-30 16:39:56 -0300
commit5505cf5facd4623ad8009fe2945f2381a43abd32 (patch)
treeb054f39dc8dadb162e5b06be3699beecb9ad6ded
parentcedf6ffb9a5edc8bcba05079380909be6e49aaea (diff)
downloadmeta-freescale-5505cf5facd4623ad8009fe2945f2381a43abd32.tar.gz
qoriq_build_64bit_kernel: Scope arch QA override
Only remove the arch QA check when BUILD_64BIT_KERNEL promotes the QorIQ kernel build to the 64-bit toolchain. This keeps the override tied to the configuration that needs it and handles an empty ERROR_QA value safely. Tested as part of the series with bitbake -p and yocto-check-layer. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
-rw-r--r--classes/qoriq_build_64bit_kernel.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/qoriq_build_64bit_kernel.bbclass b/classes/qoriq_build_64bit_kernel.bbclass
index 5186c2a41..9c8f9ce7d 100644
--- a/classes/qoriq_build_64bit_kernel.bbclass
+++ b/classes/qoriq_build_64bit_kernel.bbclass
@@ -12,7 +12,7 @@ python () {
12 d.setVar('KERNEL_LD', d.getVar('CCACHE', False) + sys_multilib + '-' + 'ld.bfd' + d.getVar('HOST_LD_KERNEL_ARCH', False) + tc_options) 12 d.setVar('KERNEL_LD', d.getVar('CCACHE', False) + sys_multilib + '-' + 'ld.bfd' + d.getVar('HOST_LD_KERNEL_ARCH', False) + tc_options)
13 d.setVar('KERNEL_AR', d.getVar('CCACHE', False) + sys_multilib + '-' + 'ar' + d.getVar('HOST_AR_KERNEL_ARCH', False)) 13 d.setVar('KERNEL_AR', d.getVar('CCACHE', False) + sys_multilib + '-' + 'ar' + d.getVar('HOST_AR_KERNEL_ARCH', False))
14 14
15 error_qa = d.getVar('ERROR_QA') 15 error_qa = (d.getVar('ERROR_QA') or '').split()
16 if 'arch' in error_qa: 16 if 'arch' in error_qa:
17 d.setVar('ERROR_QA', error_qa.replace(' arch', '')) 17 d.setVar('ERROR_QA', ' '.join(flag for flag in error_qa if flag != 'arch'))
18} 18}