diff options
Diffstat (limited to 'meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.01-xilinx-v2022.2.bb')
| -rw-r--r-- | meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.01-xilinx-v2022.2.bb | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.01-xilinx-v2022.2.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.01-xilinx-v2022.2.bb deleted file mode 100644 index 6b033f0f..00000000 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.01-xilinx-v2022.2.bb +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | require u-boot-tools-xlnx.inc | ||
| 2 | require u-boot-xlnx-2022.2.inc | ||
| 3 | |||
| 4 | # MUST clear CONFIG_VIDEO to avoid a compilation failure trying to construct | ||
| 5 | # bmp_logo.h | ||
| 6 | SED_CONFIG_EFI:append = ' -e "s/CONFIG_VIDEO=.*/# CONFIG_VIDEO is not set/"' | ||
| 7 | |||
| 8 | # Default do_compile fails with: | ||
| 9 | # | error: object directory ../downloads/git2/github.com.Xilinx.u-boot-xlnx.git/objects does not exist; check .git/objects/info/alternates. | ||
| 10 | # The regular workaround of calling 'git diff' seems to be problematic. | ||
| 11 | do_compile () { | ||
| 12 | oe_runmake -C ${S} tools-only_defconfig O=${B} | ||
| 13 | |||
| 14 | # Disable CONFIG_CMD_LICENSE, license.h is not used by tools and | ||
| 15 | # generating it requires bin2header tool, which for target build | ||
| 16 | # is built with target tools and thus cannot be executed on host. | ||
| 17 | sed -i -e "s/CONFIG_CMD_LICENSE=.*/# CONFIG_CMD_LICENSE is not set/" ${SED_CONFIG_EFI} ${B}/.config | ||
| 18 | |||
| 19 | oe_runmake -C ${S} cross_tools NO_SDL=1 O=${B} | ||
| 20 | } | ||
| 21 | |||
| 22 | # mkeficapsule is not available in this version of u-boot | ||
| 23 | PROVIDES:remove = "${MLPREFIX}u-boot-mkeficapsule" | ||
| 24 | PROVIDES:class-native:remove = "u-boot-mkeficapsule-native" | ||
| 25 | PACKAGES:remove = "${PN}-mkeficapsule" | ||
| 26 | RDEPENDS:${PN}:remove = "${PN}-mkeficapsule" | ||
| 27 | |||
| 28 | do_install:prepend() { | ||
| 29 | # Avoid do_install failure | ||
| 30 | mkdir -p tools | ||
| 31 | touch tools/mkeficapsule | ||
| 32 | } | ||
| 33 | |||
| 34 | do_install:append() { | ||
| 35 | # Avoid failure | ||
| 36 | rm -rf ${D}${bindir}/uboot-mkeficapsule | ||
| 37 | rm -rf ${D}${bindir}/mkeficapsule | ||
| 38 | } | ||
