forked from Openwrt-EcoNet/openwrt
This U-Boot version is used to generate a 'reference' U-Boot binary for QEMU's 'virt' machine on both armv7 and armv8. It has not been updated since EFI support was merged into the then-armvirt target, so we should bring it up to the latest version. The 'mkeficapsule' tool is disabled due to a host-side dependency on GnuTLS. Signed-off-by: Mathew McBride <matt@traverse.com.au> Link: https://github.com/openwrt/openwrt/pull/18862 Signed-off-by: Robert Marko <robimarko@gmail.com>
40 lines
798 B
Makefile
40 lines
798 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_VERSION:=2025.04
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_HASH:=439d3bef296effd54130be6a731c5b118be7fddd7fcc663ccbc5fb18294d8718
|
|
|
|
include $(INCLUDE_DIR)/u-boot.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define U-Boot/Default
|
|
BUILD_TARGET:=armsr
|
|
endef
|
|
|
|
define U-Boot/qemu_armv7
|
|
NAME:=QEMU ARM Virtual Machine 32-bit
|
|
BUILD_SUBTARGET:=armv7
|
|
BUILD_DEVICES:=generic
|
|
UBOOT_CONFIG:=qemu_arm
|
|
endef
|
|
|
|
define U-Boot/qemu_armv8
|
|
NAME:=QEMU ARM Virtual Machine 64-bit
|
|
BUILD_SUBTARGET:=armv8
|
|
BUILD_DEVICES:=generic
|
|
UBOOT_CONFIG:=qemu_arm64
|
|
endef
|
|
|
|
UBOOT_TARGETS := \
|
|
qemu_armv7 \
|
|
qemu_armv8
|
|
|
|
# mkeficapsule host tool is disabled
|
|
# due to a host-side GnuTLS dependency
|
|
UBOOT_CUSTOMIZE_CONFIG := \
|
|
--enable CMD_EFIDEBUG \
|
|
--disable TOOLS_MKEFICAPSULE
|
|
|
|
$(eval $(call BuildPackage/U-Boot))
|