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 <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/25778
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Shiji Yang authored and Robert Marko committed 2026-10-11 08:55:47 +02:00
1 parent 0b0825f9d9
commit 7782eaada2
1 file changed
+5
+5
View File
@@ -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