summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2024-02-29 21:37:29 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-03 16:25:20 +0000
commit9a8fff91488d123b40c165ab3218488ab5e9e422 (patch)
tree193d70ac6da19a52f8fb68c7654b90b4b6416a40 /meta/classes-recipe
parent9d1a99cf452f4dbd68327f1dc220d34a0dad932f (diff)
downloadpoky-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/classes-recipe')
-rw-r--r--meta/classes-recipe/uboot-config.bbclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes-recipe/uboot-config.bbclass b/meta/classes-recipe/uboot-config.bbclass
index 0c579e8861..e55fc38b7c 100644
--- a/meta/classes-recipe/uboot-config.bbclass
+++ b/meta/classes-recipe/uboot-config.bbclass
@@ -65,10 +65,6 @@ UBOOT_ENV_BINARY ?= "${UBOOT_ENV}.${UBOOT_ENV_SUFFIX}"
65UBOOT_ENV_IMAGE ?= "${UBOOT_ENV}-${MACHINE}-${PV}-${PR}.${UBOOT_ENV_SUFFIX}" 65UBOOT_ENV_IMAGE ?= "${UBOOT_ENV}-${MACHINE}-${PV}-${PR}.${UBOOT_ENV_SUFFIX}"
66UBOOT_ENV_SYMLINK ?= "${UBOOT_ENV}-${MACHINE}.${UBOOT_ENV_SUFFIX}" 66UBOOT_ENV_SYMLINK ?= "${UBOOT_ENV}-${MACHINE}.${UBOOT_ENV_SUFFIX}"
67 67
68# Default name of u-boot initial env, but enable individual recipes to change
69# this value.
70UBOOT_INITIAL_ENV ?= "${PN}-initial-env"
71
72# U-Boot EXTLINUX variables. U-Boot searches for /boot/extlinux/extlinux.conf 68# U-Boot EXTLINUX variables. U-Boot searches for /boot/extlinux/extlinux.conf
73# to find EXTLINUX conf file. 69# to find EXTLINUX conf file.
74UBOOT_EXTLINUX_INSTALL_DIR ?= "/boot/extlinux" 70UBOOT_EXTLINUX_INSTALL_DIR ?= "/boot/extlinux"