summaryrefslogtreecommitdiff
path: root/include/package.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-28 01:45:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-28 01:45:11 +0000
commit969ac7459ee6f948ea1c8804cc38d659e0c4a9d1 (patch)
tree7fa927cde9937adeae52d231c1266c7432dc9316 /include/package.mk
parent800ef0f56ca5971811267b5639c7895c2d569491 (diff)
downloadmtk-20170518-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.zip
mtk-20170518-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.tar.gz
mtk-20170518-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.tar.bz2
add $(STAGING_DIR) as argument to the InstallDev template and update packages accordingly - this way we can reuse InstallDev to automatically generate UninstallDev or create -dev packages
SVN-Revision: 9052
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/package.mk b/include/package.mk
index 9090455..2b93972 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -64,7 +64,7 @@ define Build/DefaultTargets
$(STAMP_BUILT): $(STAMP_CONFIGURED)
$(Build/Compile)
- $(Build/InstallDev)
+ $(call Build/InstallDev,$(STAGING_DIR))
touch $$@
ifdef Build/InstallDev
@@ -142,7 +142,7 @@ configure: $(STAMP_CONFIGURED)
compile:
install:
clean: FORCE
- $(Build/UninstallDev)
+ $(call Build/UninstallDev,$(STAGING_DIR))
$(Build/Clean)
@rm -f $(STAGING_DIR)/stamp/.$(PKG_NAME)-installed
@rm -rf $(PKG_BUILD_DIR)