summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2024-04-17 18:37:07 -0600
committerMark Hatle <mark.hatle@amd.com>2024-04-19 09:47:44 -0600
commit5340e73d3bde6b79e14ab586da8251aee38d33dc (patch)
tree5674beb77bcdf2ab3fb721e7b04d560e4c5ce6a1
parent0fe7863a5a587be2802bce104c9d75b6d707dcdc (diff)
downloadmeta-xilinx-5340e73d3bde6b79e14ab586da8251aee38d33dc.tar.gz
u-boot-tools-xlnx: Fix historic 2022.1 version
EFI components are not enabled in the 2022.1 version. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.1.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.1.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.1.bb
index eaf8d4ce..94369955 100644
--- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.1.bb
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.1.bb
@@ -19,3 +19,20 @@ do_compile () {
19 oe_runmake -C ${S} cross_tools NO_SDL=1 O=${B} 19 oe_runmake -C ${S} cross_tools NO_SDL=1 O=${B}
20} 20}
21 21
22# mkeficapsule is not available in this version of u-boot
23PROVIDES:remove = "${MLPREFIX}u-boot-mkeficapsule"
24PROVIDES:class-native:remove = "u-boot-mkeficapsule-native"
25PACKAGES:remove = "${PN}-mkeficapsule"
26RDEPENDS:${PN}:remove = "${PN}-mkeficapsule"
27
28do_install:prepend() {
29 # Avoid do_install failure
30 mkdir -p tools
31 touch tools/mkeficapsule
32}
33
34do_install:append() {
35 # Avoid failure
36 rm -rf ${D}${bindir}/uboot-mkeficapsule
37 rm -rf ${D}${bindir}/mkeficapsule
38}