summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-02 16:12:05 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-02 16:12:05 +0000
commit142699180ce17b25851192e27bc89658746c9c5e (patch)
tree9047a01d695297c7a967cf72358c703b33521db9
parent716ea883948a9ce031d5387c0018bd3d26b19f64 (diff)
store stamp file for 'development headers installed' in the staging dir instead of the package dir
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3895 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/rules.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/rules.mk b/package/rules.mk
index 79c2b3460..1fd6f2a8a 100644
--- a/package/rules.mk
+++ b/package/rules.mk
@@ -29,17 +29,18 @@ define Build/DefaultTargets
$(call Build/Compile)
touch $$@
- $(PKG_BUILD_DIR)/.dev-installed: $(PKG_BUILD_DIR)/.built
+ $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed: $(PKG_BUILD_DIR)/.built
$(call Build/InstallDev)
touch $$@
ifdef Build/InstallDev
- compile-targets: $(PKG_BUILD_DIR)/.dev-installed
+ compile-targets: $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed
endif
package-clean: FORCE
$(call Build/Clean)
$(call Build/UninstallDev)
+ rm -f $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed
package-rebuild: FORCE
@-rm $(PKG_BUILD_DIR)/.built