mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 02:37:22 +04:00
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:
1 parent
0b0825f9d9
commit
7782eaada2
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user