fix recursive dependencies on build directories - should lead to fewer spontaneous...
[openwrt/svn-archive/archive.git] / include / package-ipkg.mk
index 20d1326133cfd686cfe6ea5e7abff50f6301061a..597f5f87c350b5cd6d2f2b757affcd724fe10533 100644 (file)
@@ -78,7 +78,7 @@ ifeq ($(DUMP),)
 
     clean: $(1)-clean
 
-    $(PKG_BUILD_DIR)/.version-$(1)_$(VERSION)_$(PKGARCH): $(PKG_BUILD_DIR)/.prepared
+    $(PKG_BUILD_DIR)/.version-$(1)_$(VERSION)_$(PKGARCH): $(STAMP_PREPARED)
        -@rm -f $(PKG_BUILD_DIR)/.version-$(1)_* 2>/dev/null
        @touch $$@