summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-04-10 11:00:49 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2023-04-10 11:40:55 +0200
commit1b67d51cc26c11b1dfb67397b520343d7bdc5ccb (patch)
tree62a69185c313ba355cc3a4784ad23d6eb119f93f /classes
parent590b812628414e7140aabfc04780cd27b2fc8c39 (diff)
downloadmeta-freescale-1b67d51cc26c11b1dfb67397b520343d7bdc5ccb.tar.gz
imx-boot-container: drop from machine overrides
Moving the override from the <machine>.conf files to the common imx-base.inc and setting the use of imx-boot-container unconditionally on the used SoC makes the use of an extra override obsolete. Simply set UBOOT_PROVIDES_BOOT_CONTAINER depending on the used SoC is enough. Both the U-Boot recipe and the class implementing the logic don't need the override but only look at the variable. This also simplifies overriding the value set in imx-base.inc in an individual <machine>.conf should that be needed. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/imx-boot-container.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass
index aa897045..308e75d7 100644
--- a/classes/imx-boot-container.bbclass
+++ b/classes/imx-boot-container.bbclass
@@ -18,8 +18,7 @@
18# 18#
19# Class inheritance is performed in u-boot-fslc recipe, and is controlled 19# Class inheritance is performed in u-boot-fslc recipe, and is controlled
20# by variable UBOOT_PROVIDES_BOOT_CONTAINER, which is defined in the 20# by variable UBOOT_PROVIDES_BOOT_CONTAINER, which is defined in the
21# base machine include file (imx-base.inc), and is set to "1" when the 21# base machine include file (imx-base.inc).
22# 'imx-boot-container' is present in MACHINEOVERRIDES.
23# 22#
24# NOTE: A backwards-compatible symlink is added for 'flash.bin', named 23# NOTE: A backwards-compatible symlink is added for 'flash.bin', named
25# 'imx-boot', during the deployment task. 24# 'imx-boot', during the deployment task.