diff options
author | Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> | 2021-09-01 12:29:53 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-02 12:12:08 +0100 |
commit | 9facca6e303af2b0375a08b23664fa8da9071e01 (patch) | |
tree | 9067f2c3f64b6140c9b4663338448e3ef6bfff2a /meta/classes | |
parent | 7c08a9e3cd169b6b9d208a570ed7cb2c3384361a (diff) | |
download | poky-9facca6e303af2b0375a08b23664fa8da9071e01.tar.gz |
u-boot: Make UBOOT_BINARYNAME configurable
Make the u-boot binary name configurable. Use the existing variable
UBOOT_BINARYNAME which is evaluated from the UBOOT_BINARY.
(From OE-Core rev: e588cde6aed1e699a055e3481df0f3dc719c9774)
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/uboot-config.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/uboot-config.bbclass b/meta/classes/uboot-config.bbclass index e9e7148f0d..07a303d0a0 100644 --- a/meta/classes/uboot-config.bbclass +++ b/meta/classes/uboot-config.bbclass | |||
@@ -21,8 +21,8 @@ def removesuffix(s, suffix): | |||
21 | UBOOT_SUFFIX ??= "bin" | 21 | UBOOT_SUFFIX ??= "bin" |
22 | UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}" | 22 | UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}" |
23 | UBOOT_BINARYNAME ?= "${@os.path.splitext(d.getVar("UBOOT_BINARY"))[0]}" | 23 | UBOOT_BINARYNAME ?= "${@os.path.splitext(d.getVar("UBOOT_BINARY"))[0]}" |
24 | UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" | 24 | UBOOT_IMAGE ?= "${UBOOT_BINARYNAME}-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" |
25 | UBOOT_SYMLINK ?= "u-boot-${MACHINE}.${UBOOT_SUFFIX}" | 25 | UBOOT_SYMLINK ?= "${UBOOT_BINARYNAME}-${MACHINE}.${UBOOT_SUFFIX}" |
26 | UBOOT_MAKE_TARGET ?= "all" | 26 | UBOOT_MAKE_TARGET ?= "all" |
27 | 27 | ||
28 | # Output the ELF generated. Some platforms can use the ELF file and directly | 28 | # Output the ELF generated. Some platforms can use the ELF file and directly |