diff options
author | Fabio Estevam <festevam@denx.de> | 2024-02-29 21:37:29 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-03 16:25:20 +0000 |
commit | 9a8fff91488d123b40c165ab3218488ab5e9e422 (patch) | |
tree | 193d70ac6da19a52f8fb68c7654b90b4b6416a40 /meta/recipes-bsp | |
parent | 9d1a99cf452f4dbd68327f1dc220d34a0dad932f (diff) | |
download | poky-9a8fff91488d123b40c165ab3218488ab5e9e422.tar.gz |
u-boot: Move UBOOT_INITIAL_ENV back to u-boot.inc
Commit cc6c3e31526d ("u-boot: Move definitions to common locations") moved
UBOOT_INITIAL_ENV to uboot-config.bbclass, but it should be kept at u-boot.inc
because it encodes ${PN} in it, which should be set by the U-Boot recipe.
Currently, whatever inherits uboot-config bbclass will fill-in its own PN,
which would change the content of UBOOT_INITIAL_ENV per-package.
Cc: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Cc: Marek Vasut <marex@denx.de>
Fixes: cc6c3e31526d ("u-boot: Move definitions to common locations")
(From OE-Core rev: 0b0c4b37d318b86f100512476ffd861e0ce1f47e)
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc index 79f84b0672..f5b43f6e36 100644 --- a/meta/recipes-bsp/u-boot/u-boot.inc +++ b/meta/recipes-bsp/u-boot/u-boot.inc | |||
@@ -24,6 +24,10 @@ PACKAGECONFIG[openssl] = ",,openssl-native" | |||
24 | # file already exists it will not be overwritten. | 24 | # file already exists it will not be overwritten. |
25 | UBOOT_LOCALVERSION ?= "" | 25 | UBOOT_LOCALVERSION ?= "" |
26 | 26 | ||
27 | # Default name of u-boot initial env, but enable individual recipes to change | ||
28 | # this value. | ||
29 | UBOOT_INITIAL_ENV ?= "${PN}-initial-env" | ||
30 | |||
27 | require u-boot-configure.inc | 31 | require u-boot-configure.inc |
28 | 32 | ||
29 | do_savedefconfig() { | 33 | do_savedefconfig() { |