diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2026-07-13 08:14:56 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2026-07-13 08:14:56 -0300 |
| commit | 92cfcd9fefdb98db5a7eb00d9980018496023301 (patch) | |
| tree | 705b43ca2def473cd05c1a70f66a6755d12e2452 | |
| parent | 23ca55b1ad1f90f0c6d06a835e29c734efe27677 (diff) | |
| download | meta-freescale-92cfcd9fefdb98db5a7eb00d9980018496023301.tar.gz | |
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 <otavio@ossystems.com.br>
| -rw-r--r-- | .oelint.cfg | 11 |
1 files 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 @@ | |||
| 2 | # directory as the working directory (see contrib/oelint/run-oelint.sh). | 2 | # directory as the working directory (see contrib/oelint/run-oelint.sh). |
| 3 | # | 3 | # |
| 4 | # Layer-specific parser hints live in oelint.constants.json and are passed by | 4 | # Layer-specific parser hints live in oelint.constants.json and are passed by |
| 5 | # contrib/oelint/run-oelint.sh. Rule exceptions should stay inline as | 5 | # contrib/oelint/run-oelint.sh. Per-recipe exceptions should stay inline as |
| 6 | # '# nooelint: <rule.id>' comments next to the finding, so new recipes are fully | 6 | # '# nooelint: <rule.id>' comments next to the finding, so new recipes are fully |
| 7 | # linted and each exception is documented in place. | 7 | # linted and each exception is documented in place. Only rules that provably |
| 8 | # never apply to the whole layer are suppressed here. | ||
| 8 | [oelint] | 9 | [oelint] |
| 9 | release = wrynose | 10 | release = wrynose |
| 11 | # meta-freescale is a BSP layer: the bulk of its recipes package machine-specific | ||
| 12 | # firmware and prebuilt binaries that are not cross-compilable libraries, so | ||
| 13 | # BBCLASSEXTEND (native/nativesdk) does not apply. Suppress it layer-wide rather | ||
| 14 | # than annotating every such recipe. | ||
| 15 | suppress = | ||
| 16 | oelint.var.bbclassextend | ||
