<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-freescale.git/classes/image_populate_mfgtool.bbclass, 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>global: Drop needless whitespace in assignments</title>
<updated>2026-07-12T07:54:14+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2026-07-12T07:54:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=96b4f44279d022af8930f01d4a09c12df0be07e4'/>
<id>urn:sha1:96b4f44279d022af8930f01d4a09c12df0be07e4</id>
<content type='text'>
Remove the stray space between an assignment's opening quote and its
line-continuation backslash, and the space before '%' in inline
${@...} expressions. Generated mechanically by oelint-adv's auto-fix
for a single rule (oelint.vars.notneededspace), isolated to one commit.

The affected values are whitespace-separated lists (leading space is
insignificant) and Python format expressions ("%s"% p is equivalent),
so there is no functional change; a re-run of oelint-adv reports the
rule clean.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>classes/image_populate_mfgtool: fix basehash value change</title>
<updated>2023-04-14T19:10:42+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2023-04-13T21:15:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=faf2e7fdee71aa13e0f8f6b2fffcdfe4f504fc36'/>
<id>urn:sha1:faf2e7fdee71aa13e0f8f6b2fffcdfe4f504fc36</id>
<content type='text'>
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>classes/image_populate_mfgtool: avoid error copying duplicated files</title>
<updated>2023-04-13T19:50:02+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2023-04-13T16:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=1221046d7ece2f051420b1dfc1f897e088750626'/>
<id>urn:sha1:1221046d7ece2f051420b1dfc1f897e088750626</id>
<content type='text'>
Eventually, multiple `uuu` script may install same binaries. We need to
ensure we install them once, otherwise it'll fail as it might try to
override a existing binary.

This commit ensure all dependencies and binaries are mentioned once,
removing duplication.

Fixes: ae7af6f8 ("classes/image_populate_mfgtool: init")
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>classes/image_populate_mfgtool: init</title>
<updated>2023-04-12T20:12:18+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2022-12-14T18:15:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=ae7af6f87782fc0f57fb9f74153465e8a7ea02ea'/>
<id>urn:sha1:ae7af6f87782fc0f57fb9f74153465e8a7ea02ea</id>
<content type='text'>
The class provides the infrastructure for MFGTOOL generation and is tied
to images. To generate the bundle, the task populate_mfgtool must be
called. For example:

,----[ Running populate_mfgtool for core-image-minimal image ]
| $: bitbake core-image-minimal -c populate_mfgtool
`----

The class behavior is controlled through the MFGTOOLCONFIG (analogous to
PACKAGECONFIG) variable. The MFGTOOLCONFIG variable itself specifies a
space-separated list of the script to enable. Following the script, you
can determine the behavior of each script by providing up to two
order-dependent arguments, which are separated by commas. You can omit
any argument you like but must retain the separating commas. The order
is important and specifies the following:

  1. Extra dependencies that should be added to the do_populate_mfgtool
     task, if the script is enabled.
  2. Extra binaries that should be added to the bundle, if the script is
     enabled.

For example:

,----[ Defining foo.uuu.in and bar.uuu script ]
| MFGTOOLCONFIG = "foo.uuu.in bar.uuu"
| MFGTOOLCONFIG[foo.uuu.in] = "dep-foo1:do_deploy dep-foo2:do_deploy,file-foo1"
| MFGTOOLCONFIG[bar.uuu] = "dep-bar1:do_deploy,file-bar1 file-bar2"
`----

The dep-foo1:do_deploy, dep-foo2:do_deploy, and dep-bar1:do_deploy are
added to do_populate_mfgtool dependencies. In addition, file-foo1,
file-bar1, and file-bar2 are copied to the bundle, only if the script is
enabled.

During the mfgtool bundle generation, the uuu.in files are processed and
some variables replaced. The variables are:

  - MACHINE
  - UBOOT_BINARY
  - SPL_BINARY
  - IMAGE_BASENAME

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
</feed>
