include $(TOPDIR)/rules.mk
PKG_DISTNAME:=u-boot
-PKG_VERSION:=2026.04
+PKG_VERSION:=2026.07
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2
https://ftp.denx.de/pub/u-boot \
https://mirror.cyberbits.eu/u-boot
PKG_URL:=https://docs.u-boot.org/en/latest/
-PKG_HASH:=ac7c04b8b7004923b00a4e5d6699c5df4d21233bac9fda690d8cfbc209fff2fd
+PKG_HASH:=78e8bfc382fe388f9b55aa1daf8c563522a037779b5d4c349d1415e381f1243e
PKG_SOURCE_SUBDIR:=$(PKG_DISTNAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_DISTNAME)-$(PKG_VERSION)
ARCH="sandbox" \
TARGET_CFLAGS="$(TARGET_CFLAGS)" \
TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \
- PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR_HOST)" \
NO_PYTHON=1 \
V=$(if $(findstring c,$(OPENWRT_VERBOSE)),1,)
# Enable all the config-independent tools
ifneq ($(HOST_TOOLS_ALL),)
CONFIG_ARCH_KIRKWOOD = y
-@@ -329,8 +349,7 @@ HOST_EXTRACFLAGS += -include $(srctree)/
+@@ -327,8 +347,7 @@ HOST_EXTRACFLAGS += -include $(srctree)/
-I$(srctree)/scripts/dtc/libfdt \
-I$(srctree)/tools \
-DUSE_HOSTCC \
--- a/boot/bootm.c
+++ b/boot/bootm.c
-@@ -1245,20 +1245,18 @@ static int bootm_host_load_image(const v
+@@ -1270,20 +1270,18 @@ static int bootm_host_load_image(const v
int bootm_host_load_images(const void *fit, int cfg_noffset)
{
--- a/boot/bootm.c
+++ b/boot/bootm.c
-@@ -1204,10 +1204,6 @@ static int bootm_host_load_image(const v
+@@ -1229,10 +1229,6 @@ static int bootm_host_load_image(const v
ulong data, len;
struct bootm_headers images;
int noffset;
int ret;
fit_uname_config = fdt_get_name(fit, cfg_noffset, NULL);
-@@ -1219,26 +1215,6 @@ static int bootm_host_load_image(const v
+@@ -1244,26 +1240,6 @@ static int bootm_host_load_image(const v
FIT_LOAD_IGNORED, &data, &len);
if (noffset < 0)
return noffset;