<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-freescale.git/classes, branch master</title>
<subtitle>Mirror of github.com/Freescale/meta-freescale</subtitle>
<id>https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/'/>
<updated>2026-08-04T11:21:59+00:00</updated>
<entry>
<title>Merge pull request #2614 from lucianogdittgen/oelint-cleanup-17</title>
<updated>2026-08-04T11:21:59+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2026-08-04T11:21:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=3a737559449a73d5dcd521765bb98c63f5a8e2b2'/>
<id>urn:sha1:3a737559449a73d5dcd521765bb98c63f5a8e2b2</id>
<content type='text'>
oelint: Patch headers, kernel/u-boot SECTION, task docs and install modes</content>
</entry>
<entry>
<title>image_populate_mfgtool: use oe.utils.base_set_filespath</title>
<updated>2026-08-04T07:59:26+00:00</updated>
<author>
<name>Antoine Gouby</name>
<email>antoine.gouby@toradex.com</email>
</author>
<published>2026-08-04T07:51:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=1a3d84784a6cd8b373c7ae5ac003fc9e21dc65a7'/>
<id>urn:sha1:1a3d84784a6cd8b373c7ae5ac003fc9e21dc65a7</id>
<content type='text'>
Commit 4e04ca516c6b ("utils: Move functions from utils.bbclass to utils.py")
from openembedded-core moved base_set_filespath into oe.utils.

Signed-off-by: Antoine Gouby &lt;antoine.gouby@toradex.com&gt;
</content>
</entry>
<entry>
<title>classes: Document the custom tasks and helpers per oelint</title>
<updated>2026-08-03T19:13:30+00:00</updated>
<author>
<name>Luciano Dittgen</name>
<email>luciano.dittgen@ossystems.com.br</email>
</author>
<published>2026-07-29T13:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=b4d4505c0a982c552df1afbc57f79fa59abb6b4d'/>
<id>urn:sha1:b4d4505c0a982c552df1afbc57f79fa59abb6b4d</id>
<content type='text'>
oelint-adv reports 'oelint.task.docstrings: Every custom task should
have a doc string set by task[doc] = ...' for the five custom functions
in classes/. Doc strings are shown by 'bitbake &lt;recipe&gt; -c listtasks',
so this is useful metadata rather than linter appeasement, and the layer
already applies it in fsl-kernel-localversion, fsl-eula-unpack,
kernel-imximage and imx-boot-container.

The flag has to be keyed on the function name exactly as written, which
is why the two image_types_fsl entries are on IMAGE_CMD:uboot-mxsboot-*
rather than on the do_image_uboot_mxsboot_* tasks they generate; keying
them on the task name does not satisfy the rule.

fsl_vivante_kernel_driver_handler is an event handler rather than a
task. It is documented here for consistency with the other non-task
helpers the layer already documents (__set_insane_skip, update_file),
rather than suppressed as machine-overrides-extender does.

bitbake never reads the 'doc' flag when computing task checksums --
bb/data.py build_dependencies() only consults vardeps, vardepvalue,
vardepsexclude, exports, postfuncs, prefuncs, lineno and filename -- so
these additions cannot change a signature or invalidate sstate.

Verified by re-linting each file: all five findings are gone and nothing
new is reported.

Signed-off-by: Luciano Dittgen &lt;luciano.dittgen@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>fsl-eula-unpack: Fix do_fetch prepend prefix and document findings per oelint</title>
<updated>2026-07-17T12:18:19+00:00</updated>
<author>
<name>Luciano Dittgen</name>
<email>luciano.dittgen@ossystems.com.br</email>
</author>
<published>2026-07-15T13:08:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=6d97362cb1d8e88d7f8810cc2959b294ec8bdb8a'/>
<id>urn:sha1:6d97362cb1d8e88d7f8810cc2959b294ec8bdb8a</id>
<content type='text'>
Address the oelint-adv findings for this class:

- Add the missing 'python' prefix to do_fetch:prepend (task.pythonprefix).
  do_fetch is a python task and the prepend body is python (it calls
  d.getVar and bb.fatal), but the 'python' keyword was lost when the
  _prepend -&gt; :prepend override-syntax conversion rewrote the header, so
  the LICENSE validation was an ill-formed shell fragment. Restoring the
  prefix makes it a proper python fragment again. Not build-tested here;
  the check passes for every Proprietary-licensed EULA recipe and only
  errors on misuse, so it is safe.
- Suppress var.licenseremotefile on LIC_FILES_CHKSUM:append: the EULA
  text is shipped by the layer (FSL_EULA_FILE), not the recipe source
  tree, so the reference intentionally points outside the sources.
- Set a task[doc] docstring on the fsl_bin_do_unpack helper
  (task.docstrings).

bbclass.underscores on the class filename is handled by the layer-wide
suppression.

Signed-off-by: Luciano Dittgen &lt;luciano.dittgen@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>imx-boot-container: Document append spacing and task doc per oelint</title>
<updated>2026-07-17T12:18:19+00:00</updated>
<author>
<name>Luciano Dittgen</name>
<email>luciano.dittgen@ossystems.com.br</email>
</author>
<published>2026-07-15T13:06:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=5da7f122bb22387e44f613aed7321cad1c52d926'/>
<id>urn:sha1:5da7f122bb22387e44f613aed7321cad1c52d926</id>
<content type='text'>
Address the oelint-adv findings for this class:

- Suppress vars.inconspaces on ATF_MACHINE_NAME:append: it concatenates
  an "-optee" suffix directly onto the filename, so the missing leading
  space is intentional (a space would break the name).
- Set a task[doc] docstring on the custom do_resolve_and_populate_binaries
  task (task.docstrings).

bbclass.underscores on the class filename is handled by the layer-wide
suppression.

No functional change.

Signed-off-by: Luciano Dittgen &lt;luciano.dittgen@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>use-imx-security-controller-firmware: Document anonymous python per oelint</title>
<updated>2026-07-17T12:18:19+00:00</updated>
<author>
<name>Luciano Dittgen</name>
<email>luciano.dittgen@ossystems.com.br</email>
</author>
<published>2026-07-15T13:06:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=9f02ba62e3235fb0e97b3fd6e3b4173c3cba2f50'/>
<id>urn:sha1:9f02ba62e3235fb0e97b3fd6e3b4173c3cba2f50</id>
<content type='text'>
Suppress task.noanonpython on the anonymous python guard: SoCs that
require a SECO firmware must fail parsing early (SkipRecipe) when
SECO_FIRMWARE_NAME is undefined, which needs anonymous python.
bbclass.underscores on the class filename is handled by the layer-wide
suppression.

No functional change.

Signed-off-by: Luciano Dittgen &lt;luciano.dittgen@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>fsl-dynamic-packagearch: Document anonymous python per oelint</title>
<updated>2026-07-17T12:18:19+00:00</updated>
<author>
<name>Luciano Dittgen</name>
<email>luciano.dittgen@ossystems.com.br</email>
</author>
<published>2026-07-15T13:06:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=fc509c74a9fbc55c15c565b225c5ca4861f28ec8'/>
<id>urn:sha1:fc509c74a9fbc55c15c565b225c5ca4861f28ec8</id>
<content type='text'>
Suppress task.noanonpython on the __anonymous function: PACKAGE_ARCH and
PACKAGE_EXTRA_ARCHS are selected at parse time by inspecting
PROVIDES/DEPENDS against the SOCARCH filters and the multilib tunes,
which cannot be expressed declaratively. bbclass.underscores on the
class filename is handled by the layer-wide suppression.

No functional change.

Signed-off-by: Luciano Dittgen &lt;luciano.dittgen@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>kernel-imximage: Add helper docstrings per oelint</title>
<updated>2026-07-17T12:18:19+00:00</updated>
<author>
<name>Luciano Dittgen</name>
<email>luciano.dittgen@ossystems.com.br</email>
</author>
<published>2026-07-15T13:03:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=f1630ef2811460ff0a2d4ae4298a16feb5006ded'/>
<id>urn:sha1:f1630ef2811460ff0a2d4ae4298a16feb5006ded</id>
<content type='text'>
Set task[doc] docstrings on the imx_mkimage and gen_imximage helper
functions used by do_deploy:append, so task.docstrings is satisfied,
matching how other helper functions in this layer are documented.
bbclass.underscores on the class filename is handled by the layer-wide
suppression.

No functional change.

Signed-off-by: Luciano Dittgen &lt;luciano.dittgen@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>fsl-kernel-localversion: Add task docstring per oelint</title>
<updated>2026-07-17T12:18:19+00:00</updated>
<author>
<name>Luciano Dittgen</name>
<email>luciano.dittgen@ossystems.com.br</email>
</author>
<published>2026-07-15T13:03:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=c895f2166c81cfb0ebf32bb2a1513387f29e82b8'/>
<id>urn:sha1:c895f2166c81cfb0ebf32bb2a1513387f29e82b8</id>
<content type='text'>
Set a task[doc] docstring on do_kernel_localversion so the custom task is
documented (task.docstrings). bbclass.underscores on the class filename
is handled by the layer-wide suppression.

No functional change.

Signed-off-by: Luciano Dittgen &lt;luciano.dittgen@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>machine-overrides-extender: Document event-handler docstring findings per oelint</title>
<updated>2026-07-17T12:18:19+00:00</updated>
<author>
<name>Luciano Dittgen</name>
<email>luciano.dittgen@ossystems.com.br</email>
</author>
<published>2026-07-15T13:01:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=952e7ddc2b229072cba945beb4dd0478cc99845a'/>
<id>urn:sha1:952e7ddc2b229072cba945beb4dd0478cc99845a</id>
<content type='text'>
task.docstrings fires on the two python functions in this class, but both
are event handlers registered via addhandler with an [eventmask]
(ConfigParsed and RecipeParsed), not tasks. A task[doc] docstring only
applies to tasks, so suppress the finding inline on each handler with a
rationale.

No functional change.

Signed-off-by: Luciano Dittgen &lt;luciano.dittgen@ossystems.com.br&gt;
</content>
</entry>
</feed>
