aboutsummaryrefslogtreecommitdiffstats
path: root/package/nvram/Makefile
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 /package/nvram/Makefile
parent800ef0f56ca5971811267b5639c7895c2d569491 (diff)
downloadupstream-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.tar.gz
upstream-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.tar.bz2
upstream-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.zip
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 'package/nvram/Makefile')
-rw-r--r--package/nvram/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/nvram/Makefile b/package/nvram/Makefile
index cc1371ec64..2bcc3afcf4 100644
--- a/package/nvram/Makefile
+++ b/package/nvram/Makefile
@@ -30,12 +30,12 @@ define Build/Prepare
endef
define Build/InstallDev
- mkdir -p $(STAGING_DIR)/usr/lib
- $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(STAGING_DIR)/usr/lib/
+ mkdir -p $(1)/usr/lib
+ $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(1)/usr/lib/
endef
define Build/UninstallDev
- rm -f $(STAGING_DIR)/usr/lib/lib{nvram,shared}*.so
+ rm -f $(1)/usr/lib/lib{nvram,shared}*.so
endef
define Package/nvram/install