summaryrefslogtreecommitdiff
path: root/openwrt/package/nvram
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-05-31 13:00:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-05-31 13:00:11 +0000
commit579b222d5e4911e2028981d4a9b20d41b693d1d6 (patch)
tree40cd199b16cc78373fa61285af30c8c39881c297 /openwrt/package/nvram
parent61c868f34fa3efd1794579b986d130fe4ce4c972 (diff)
downloadmtk-20170518-579b222d5e4911e2028981d4a9b20d41b693d1d6.zip
mtk-20170518-579b222d5e4911e2028981d4a9b20d41b693d1d6.tar.gz
mtk-20170518-579b222d5e4911e2028981d4a9b20d41b693d1d6.tar.bz2
add missing BuildPackage lines, convert install-dev: to Build/InstallDev
SVN-Revision: 3857
Diffstat (limited to 'openwrt/package/nvram')
-rw-r--r--openwrt/package/nvram/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/openwrt/package/nvram/Makefile b/openwrt/package/nvram/Makefile
index 9cc6b99..5900f6f 100644
--- a/openwrt/package/nvram/Makefile
+++ b/openwrt/package/nvram/Makefile
@@ -28,9 +28,14 @@ define Package/nvram/install
install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin
endef
-compile-targets: install-dev
-install-dev: $(PKG_BUILD_DIR)/.built
+define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/lib
$(CP) $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib
-
+endef
+
+define Build/UninstallDev
+ rm -f $(STAGING_DIR)/usr/lib/libshared*.so \
+ $(STAGING_DIR)/usr/lib/libnvram*.so
+endef
+$(eval $(call BuildPackage,nvram))