Skip to content

Commit 7782eaa

Browse files
DragonBlueprobimarko
authored andcommitted
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: openwrt/openwrt#25778 Signed-off-by: Robert Marko <robimarko@gmail.com>
1 parent 0b0825f commit 7782eaa

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎include/u-boot.mk‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ PKG_SOURCE_URL = \
1212
endif
1313

1414
PKG_BUILD_DIR = $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
15+
ifndef PKG_SOURCE_PROTO
16+
ifeq ($(firstword $(sort $(PKG_VERSION) 2026.10)),2026.10)
17+
PKG_BUILD_DIR = $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-v$(PKG_VERSION)
18+
endif
19+
endif
1520

1621
PKG_TARGETS := bin
1722
PKG_FLAGS:=nonshared

0 commit comments

Comments
 (0)