From 7782eaada29dc597b598d4ade9bbb0a7931670f8 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Sat, 10 Oct 2026 18:02:04 +0800 Subject: [PATCH] u-boot: update PKG_BUILD_DIR for version 2026.10+ Starting with version 2026.10, the folder name inside the tarball has changed: an additional `v` is prepended to the directory name. Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/25778 Signed-off-by: Robert Marko --- include/u-boot.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/u-boot.mk b/include/u-boot.mk index 063701cb1d7..a5ed5bf4b7a 100644 --- a/include/u-boot.mk +++ b/include/u-boot.mk @@ -12,6 +12,11 @@ PKG_SOURCE_URL = \ endif PKG_BUILD_DIR = $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) +ifndef PKG_SOURCE_PROTO +ifeq ($(firstword $(sort $(PKG_VERSION) 2026.10)),2026.10) + PKG_BUILD_DIR = $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-v$(PKG_VERSION) +endif +endif PKG_TARGETS := bin PKG_FLAGS:=nonshared