summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorPeter Hoyes <peter.hoyes@arm.com>2024-04-09 08:27:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-11 08:46:49 +0100
commit29e1ef7f90c62a4e139217b2bf8812569708d097 (patch)
treea7179e00c5f19e4b281eaf28f8098bd026205764 /meta/recipes-bsp
parent4892e1637699f5079f2f1c6d62a64d6a669e447a (diff)
downloadpoky-29e1ef7f90c62a4e139217b2bf8812569708d097.tar.gz
u-boot-tools: Package mkeficapsule
mkeficapsule is a tool provided by U-Boot (as part of the tools-only targets) for generating UEFI capsule update archives. Install mkeficapsule into a u-boot-tools-mkeficapsule package. (From OE-Core rev: ab9380cd969cc0762a55e5e2c7a8ea6b697e3ae1) Signed-off-by: Peter Hoyes <peter.hoyes@arm.com> 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-tools.inc13
1 files changed, 9 insertions, 4 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-tools.inc b/meta/recipes-bsp/u-boot/u-boot-tools.inc
index 09b3c3f68c..f3010763c0 100644
--- a/meta/recipes-bsp/u-boot/u-boot-tools.inc
+++ b/meta/recipes-bsp/u-boot/u-boot-tools.inc
@@ -4,10 +4,10 @@ DEPENDS += "gnutls openssl util-linux swig-native"
4inherit python3native 4inherit python3native
5export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}" 5export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}"
6 6
7PROVIDES = "${MLPREFIX}u-boot-mkimage ${MLPREFIX}u-boot-mkenvimage" 7PROVIDES = "${MLPREFIX}u-boot-mkimage ${MLPREFIX}u-boot-mkenvimage ${MLPREFIX}u-boot-mkeficapsule"
8PROVIDES:class-native = "u-boot-mkimage-native u-boot-mkenvimage-native" 8PROVIDES:class-native = "u-boot-mkimage-native u-boot-mkenvimage-native u-boot-mkeficapsule-native"
9 9
10PACKAGES += "${PN}-mkimage ${PN}-mkenvimage" 10PACKAGES += "${PN}-mkimage ${PN}-mkenvimage ${PN}-mkeficapsule"
11 11
12# Required for backward compatibility with "u-boot-mkimage-xxx.bb" 12# Required for backward compatibility with "u-boot-mkimage-xxx.bb"
13RPROVIDES:${PN}-mkimage = "u-boot-mkimage" 13RPROVIDES:${PN}-mkimage = "u-boot-mkimage"
@@ -70,15 +70,20 @@ do_install () {
70 # fit_check_sign 70 # fit_check_sign
71 install -m 0755 tools/fit_check_sign ${D}${bindir}/uboot-fit_check_sign 71 install -m 0755 tools/fit_check_sign ${D}${bindir}/uboot-fit_check_sign
72 ln -sf uboot-fit_check_sign ${D}${bindir}/fit_check_sign 72 ln -sf uboot-fit_check_sign ${D}${bindir}/fit_check_sign
73
74 # mkeficapsule
75 install -m 0755 tools/mkeficapsule ${D}${bindir}/uboot-mkeficapsule
76 ln -sf uboot-mkeficapsule ${D}${bindir}/mkeficapsule
73} 77}
74 78
75ALLOW_EMPTY:${PN} = "1" 79ALLOW_EMPTY:${PN} = "1"
76FILES:${PN} = "" 80FILES:${PN} = ""
77FILES:${PN}-mkimage = "${bindir}/uboot-mkimage ${bindir}/mkimage ${bindir}/uboot-dumpimage ${bindir}/dumpimage ${bindir}/uboot-fit_check_sign ${bindir}/fit_check_sign" 81FILES:${PN}-mkimage = "${bindir}/uboot-mkimage ${bindir}/mkimage ${bindir}/uboot-dumpimage ${bindir}/dumpimage ${bindir}/uboot-fit_check_sign ${bindir}/fit_check_sign"
78FILES:${PN}-mkenvimage = "${bindir}/uboot-mkenvimage ${bindir}/mkenvimage" 82FILES:${PN}-mkenvimage = "${bindir}/uboot-mkenvimage ${bindir}/mkenvimage"
83FILES:${PN}-mkeficapsule = "${bindir}/uboot-mkeficapsule ${bindir}/mkeficapsule"
79 84
80RDEPENDS:${PN}-mkimage += "dtc" 85RDEPENDS:${PN}-mkimage += "dtc"
81RDEPENDS:${PN} += "${PN}-mkimage ${PN}-mkenvimage" 86RDEPENDS:${PN} += "${PN}-mkimage ${PN}-mkenvimage ${PN}-mkeficapsule"
82RDEPENDS:${PN}:class-native = "" 87RDEPENDS:${PN}:class-native = ""
83 88
84BBCLASSEXTEND = "native nativesdk" 89BBCLASSEXTEND = "native nativesdk"