diff options
| author | George Sapkin | 2025-12-24 02:28:49 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-12-24 18:39:54 +0000 |
| commit | eaeae068cccf549acf2c296e7e1ad0e331def102 (patch) | |
| tree | 798319140a2bb0363e831e0f5bf4a6e01fd4ecee | |
| parent | e0ea3d73d2cf4d72af107f1419aba3ce287c0080 (diff) | |
| download | openwrt-eaeae068cccf549acf2c296e7e1ad0e331def102.tar.gz | |
build: fix missing PKG_INFO_DIR
If the first built package has an ABI, PKG_INFO_DIR might not exist, so
ensure it does.
Signed-off-by: George Sapkin <george@sapk.in>
Link: https://github.com/openwrt/openwrt/pull/21265
(cherry picked from commit 56bc4a0d894f18933c6de2b65a042d4f34f50cd9)
Link: https://github.com/openwrt/openwrt/pull/21253
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | include/package-pack.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/package-pack.mk b/include/package-pack.mk index 980fe29f69..b38000ca97 100644 --- a/include/package-pack.mk +++ b/include/package-pack.mk @@ -191,6 +191,7 @@ endif $(STAGING_DIR_ROOT)/stamp/.$(1)_installed: $(PKG_BUILD_DIR)/.pkgdir/$(1).installed mkdir -p $(STAGING_DIR_ROOT)/stamp $(if $(ABI_VERSION),echo '$(ABI_VERSION)' | cmp -s - $(PKG_INFO_DIR)/$(1).version || { \ + mkdir -p $(PKG_INFO_DIR); \ echo '$(ABI_VERSION)' > $(PKG_INFO_DIR)/$(1).version; \ $(foreach pkg,$(filter-out $(1),$(PROVIDES)), \ cp $(PKG_INFO_DIR)/$(1).version $(PKG_INFO_DIR)/$(pkg).version; \ |