fix build issues with SMP compiles
authorMike Baker <mbm@openwrt.org>
Fri, 28 Jul 2006 17:53:19 +0000 (17:53 +0000)
committerMike Baker <mbm@openwrt.org>
Fri, 28 Jul 2006 17:53:19 +0000 (17:53 +0000)
SVN-Revision: 4317

openwrt/include/package.mk

index 7af7420395ac89d98e42cdc63f5114201f7098bf..e0765f7baba31a2ee26a53a7abb6636c15b9cae9 100644 (file)
@@ -220,7 +220,7 @@ define BuildPackage
 
   clean: $(1)-clean
 
-  $(PKG_BUILD_DIR)/.version-$(1)_$(VERSION)_$(PKGARCH):
+  $(PKG_BUILD_DIR)/.version-$(1)_$(VERSION)_$(PKGARCH): $(PKG_BUILD_DIR)/.prepared
        -rm $(PKG_BUILD_DIR)/.version-$(1)_*
        @touch $$@