summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/imx-base.inc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-12-14 15:15:26 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2023-04-12 17:12:18 -0300
commitae7af6f87782fc0f57fb9f74153465e8a7ea02ea (patch)
treefef362ae819d92cffb2b2b6ce6ffcbc3a466bcef /conf/machine/include/imx-base.inc
parent039b28e30420671fdd932e0a8b6ec355b07cec7c (diff)
downloadmeta-freescale-ae7af6f87782fc0f57fb9f74153465e8a7ea02ea.tar.gz
classes/image_populate_mfgtool: init
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 <otavio@ossystems.com.br>
Diffstat (limited to 'conf/machine/include/imx-base.inc')
-rw-r--r--conf/machine/include/imx-base.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 37e67dea..7ff2741d 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -614,5 +614,8 @@ MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen"
614 614
615HOSTTOOLS_NONFATAL:append:mx8-nxp-bsp = " sha384sum" 615HOSTTOOLS_NONFATAL:append:mx8-nxp-bsp = " sha384sum"
616 616
617# Add task to generate the mfgtool bundle for the image.
618IMAGE_CLASSES:append:imx-generic-bsp = " image_populate_mfgtool"
619
617# Allow meta-imx to add NIP devices information until upstreamed. 620# Allow meta-imx to add NIP devices information until upstreamed.
618include conf/machine/include/imx-base-extend.inc 621include conf/machine/include/imx-base-extend.inc