diff options
author | Peter Hoyes <peter.hoyes@arm.com> | 2024-04-09 08:27:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-11 08:46:49 +0100 |
commit | 29e1ef7f90c62a4e139217b2bf8812569708d097 (patch) | |
tree | a7179e00c5f19e4b281eaf28f8098bd026205764 /meta/recipes-bsp | |
parent | 4892e1637699f5079f2f1c6d62a64d6a669e447a (diff) | |
download | poky-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.inc | 13 |
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" | |||
4 | inherit python3native | 4 | inherit python3native |
5 | export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}" | 5 | export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}" |
6 | 6 | ||
7 | PROVIDES = "${MLPREFIX}u-boot-mkimage ${MLPREFIX}u-boot-mkenvimage" | 7 | PROVIDES = "${MLPREFIX}u-boot-mkimage ${MLPREFIX}u-boot-mkenvimage ${MLPREFIX}u-boot-mkeficapsule" |
8 | PROVIDES:class-native = "u-boot-mkimage-native u-boot-mkenvimage-native" | 8 | PROVIDES:class-native = "u-boot-mkimage-native u-boot-mkenvimage-native u-boot-mkeficapsule-native" |
9 | 9 | ||
10 | PACKAGES += "${PN}-mkimage ${PN}-mkenvimage" | 10 | PACKAGES += "${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" |
13 | RPROVIDES:${PN}-mkimage = "u-boot-mkimage" | 13 | RPROVIDES:${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 | ||
75 | ALLOW_EMPTY:${PN} = "1" | 79 | ALLOW_EMPTY:${PN} = "1" |
76 | FILES:${PN} = "" | 80 | FILES:${PN} = "" |
77 | FILES:${PN}-mkimage = "${bindir}/uboot-mkimage ${bindir}/mkimage ${bindir}/uboot-dumpimage ${bindir}/dumpimage ${bindir}/uboot-fit_check_sign ${bindir}/fit_check_sign" | 81 | FILES:${PN}-mkimage = "${bindir}/uboot-mkimage ${bindir}/mkimage ${bindir}/uboot-dumpimage ${bindir}/dumpimage ${bindir}/uboot-fit_check_sign ${bindir}/fit_check_sign" |
78 | FILES:${PN}-mkenvimage = "${bindir}/uboot-mkenvimage ${bindir}/mkenvimage" | 82 | FILES:${PN}-mkenvimage = "${bindir}/uboot-mkenvimage ${bindir}/mkenvimage" |
83 | FILES:${PN}-mkeficapsule = "${bindir}/uboot-mkeficapsule ${bindir}/mkeficapsule" | ||
79 | 84 | ||
80 | RDEPENDS:${PN}-mkimage += "dtc" | 85 | RDEPENDS:${PN}-mkimage += "dtc" |
81 | RDEPENDS:${PN} += "${PN}-mkimage ${PN}-mkenvimage" | 86 | RDEPENDS:${PN} += "${PN}-mkimage ${PN}-mkenvimage ${PN}-mkeficapsule" |
82 | RDEPENDS:${PN}:class-native = "" | 87 | RDEPENDS:${PN}:class-native = "" |
83 | 88 | ||
84 | BBCLASSEXTEND = "native nativesdk" | 89 | BBCLASSEXTEND = "native nativesdk" |