summaryrefslogtreecommitdiffstats
path: root/meta/classes/uboot-config.bbclass
diff options
context:
space:
mode:
authorPeter Hoyes <Peter.Hoyes@arm.com>2021-10-13 14:50:11 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-16 16:41:59 (GMT)
commita3d3c2d4ac421a0dde2a20825eab4434f16b2452 (patch)
tree80b5150624004486e435b0c9afffa8570eca80a3 /meta/classes/uboot-config.bbclass
parent7300618171c6e22a4fbc2eaf8d8362fe5b3b4b92 (diff)
downloadpoky-a3d3c2d4ac421a0dde2a20825eab4434f16b2452.tar.gz
u-boot: Convert ${UBOOT_ENV}.cmd into ${UBOOT_ENV}.scr
* Add extra SRC variables to uboot-config.class for source cmd file * Add DEPENDS on u-boot-mkimage-native if UBOOT_ENV_SUFFIX is scr * Compile cmd -> scr in do_compile if UBOOT_ENV_SUFFIX is scr (From OE-Core rev: 0ea02ca5c1fc4e15f640b1c26c0a5ce34fc08c05) Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/uboot-config.bbclass')
-rw-r--r--meta/classes/uboot-config.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/uboot-config.bbclass b/meta/classes/uboot-config.bbclass
index 07a303d..b9ad358 100644
--- a/meta/classes/uboot-config.bbclass
+++ b/meta/classes/uboot-config.bbclass
@@ -53,6 +53,8 @@ SPL_SYMLINK ?= "${SPL_BINARYNAME}-${MACHINE}${SPL_DELIMITER}${SPL_SUFFIX}"
53# include it in the SRC_URI and set the UBOOT_ENV parameter. 53# include it in the SRC_URI and set the UBOOT_ENV parameter.
54UBOOT_ENV_SUFFIX ?= "txt" 54UBOOT_ENV_SUFFIX ?= "txt"
55UBOOT_ENV ?= "" 55UBOOT_ENV ?= ""
56UBOOT_ENV_SRC_SUFFIX ?= "cmd"
57UBOOT_ENV_SRC ?= "${UBOOT_ENV}.${UBOOT_ENV_SRC_SUFFIX}"
56UBOOT_ENV_BINARY ?= "${UBOOT_ENV}.${UBOOT_ENV_SUFFIX}" 58UBOOT_ENV_BINARY ?= "${UBOOT_ENV}.${UBOOT_ENV_SUFFIX}"
57UBOOT_ENV_IMAGE ?= "${UBOOT_ENV}-${MACHINE}-${PV}-${PR}.${UBOOT_ENV_SUFFIX}" 59UBOOT_ENV_IMAGE ?= "${UBOOT_ENV}-${MACHINE}-${PV}-${PR}.${UBOOT_ENV_SUFFIX}"
58UBOOT_ENV_SYMLINK ?= "${UBOOT_ENV}-${MACHINE}.${UBOOT_ENV_SUFFIX}" 60UBOOT_ENV_SYMLINK ?= "${UBOOT_ENV}-${MACHINE}.${UBOOT_ENV_SUFFIX}"