From 92cfcd9fefdb98db5a7eb00d9980018496023301 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 13 Jul 2026 08:14:56 -0300 Subject: oelint: Suppress bbclassextend layer-wide meta-freescale is a BSP layer whose recipes overwhelmingly package machine-specific firmware and prebuilt binaries. These are not cross-compilable libraries, so BBCLASSEXTEND (native/nativesdk) does not apply to them, yet oelint.var.bbclassextend fires on all 168 of them. Suppress the rule layer-wide in .oelint.cfg instead of annotating each recipe with an inline exception. The header comment is updated to note that only rules which provably never apply to the whole layer belong here; per-recipe exceptions still go inline as '# nooelint:'. Signed-off-by: Otavio Salvador --- .oelint.cfg | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.oelint.cfg b/.oelint.cfg index fbf1ede14..7729602f7 100644 --- a/.oelint.cfg +++ b/.oelint.cfg @@ -2,8 +2,15 @@ # directory as the working directory (see contrib/oelint/run-oelint.sh). # # Layer-specific parser hints live in oelint.constants.json and are passed by -# contrib/oelint/run-oelint.sh. Rule exceptions should stay inline as +# contrib/oelint/run-oelint.sh. Per-recipe exceptions should stay inline as # '# nooelint: ' comments next to the finding, so new recipes are fully -# linted and each exception is documented in place. +# linted and each exception is documented in place. Only rules that provably +# never apply to the whole layer are suppressed here. [oelint] release = wrynose +# meta-freescale is a BSP layer: the bulk of its recipes package machine-specific +# firmware and prebuilt binaries that are not cross-compilable libraries, so +# BBCLASSEXTEND (native/nativesdk) does not apply. Suppress it layer-wide rather +# than annotating every such recipe. +suppress = + oelint.var.bbclassextend -- cgit v1.2.3-54-g00ecf