aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/nvram/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/nvram/Makefile b/package/nvram/Makefile
index f5eba9e2b6..6ac11a9bef 100644
--- a/package/nvram/Makefile
+++ b/package/nvram/Makefile
@@ -41,6 +41,12 @@ define Build/Compile
LDFLAGS="$(TARGET_LDFLAGS)"
endef
+define Build/InstallDev
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/libnvram.so.0.1 $(1)/usr/lib/
+ ln -s libnvram.so.0.1 $(1)/usr/lib/libnvram.so
+endef
+
define Package/nvram/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/nvram.init $(1)/etc/init.d/nvram