aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-21 18:29:56 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-21 18:30:51 +0100
commitf784b3e195cf5932347f0c2297b8604da93d12e3 (patch)
tree9c94f1d2e12910d3d1a21ba7e45c89bebae0e25a /include
parentd9b1a55239dea616515426a705c00961dd7d0dd1 (diff)
downloadupstream-f784b3e195cf5932347f0c2297b8604da93d12e3.tar.gz
upstream-f784b3e195cf5932347f0c2297b8604da93d12e3.tar.bz2
upstream-f784b3e195cf5932347f0c2297b8604da93d12e3.zip
build: fix regression in handling ABI_VERSION
The code was updated without changing $$@ into the proper target filename Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include')
-rw-r--r--include/package-ipkg.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index d73d461537..3e2e31c789 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -148,7 +148,7 @@ ifeq ($(DUMP),)
$(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 - $$@ || echo '$(ABI_VERSION)' > $$@)
+ $(if $(ABI_VERSION),echo '$(ABI_VERSION)' | cmp -s - $(PKG_INFO_DIR)/$(1).version || echo '$(ABI_VERSION)' > $(PKG_INFO_DIR)/$(1).version)
$(call locked,$(CP) $(PKG_BUILD_DIR)/.pkgdir/$(1)/. $(STAGING_DIR_ROOT)/,root-copy)
touch $$@