diff options
author | Enrico Jorns <ejo@pengutronix.de> | 2021-01-19 16:57:20 +0100 |
---|---|---|
committer | Enrico Jorns <ejo@pengutronix.de> | 2021-06-24 11:11:27 +0200 |
commit | 4114dcf4cc2bd2c13b2c8b84463c89f4d6fac6ac (patch) | |
tree | 0573e90399ec0a405cd7d957bfe50aad3e2fc9dd | |
parent | a5799a68f6b898cc34941913dcf2464e37c8c5c2 (diff) | |
download | meta-ptx-4114dcf4cc2bd2c13b2c8b84463c89f4d6fac6ac.tar.gz meta-ptx-4114dcf4cc2bd2c13b2c8b84463c89f4d6fac6ac.tar.xz |
bootspec: rename 'dtb' to 'dtbs'
* reflect that it can contain multiple device trees
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
(cherry-picked from commit 1830b94721bc926b29230cfdb855147a859e8cea)
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
-rw-r--r-- | classes/bootspec.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/bootspec.bbclass b/classes/bootspec.bbclass index 7d05030..3344956 100644 --- a/classes/bootspec.bbclass +++ b/classes/bootspec.bbclass @@ -36,10 +36,10 @@ BOOTSPEC_EXTRALINE ?= "" BOOTSPEC_EXTRALINE[doc] = "Allows to add extra content to bootspec entries, lines must be terminated with a newline" python create_bootspec() { - dtb = (d.getVar('KERNEL_DEVICETREE') or "default").split() + dtbs = (d.getVar('KERNEL_DEVICETREE') or "default").split() bb.utils.mkdirhier(d.expand("${IMAGE_ROOTFS}/loader/entries/")) - for x in dtb: + for x in dtbs: x = os.path.basename(x) conf = "/loader/entries/" + x.replace('.dtb', '') + ".conf" |