aboutsummaryrefslogtreecommitdiffstats
path: root/package/nvram
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-03-26 17:58:49 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-03-26 17:58:49 +0000
commitf273e6d2ffd617b6ff98bf97ab90bad456f7a2b3 (patch)
tree10beb5f56eaf0c75bdf43d846783add2d77c363d /package/nvram
parentdfb4939f201a2784aab6f7dca1911d83a22530fc (diff)
downloadupstream-f273e6d2ffd617b6ff98bf97ab90bad456f7a2b3.tar.gz
upstream-f273e6d2ffd617b6ff98bf97ab90bad456f7a2b3.tar.bz2
upstream-f273e6d2ffd617b6ff98bf97ab90bad456f7a2b3.zip
fix wrt-radauth compilation failure (#6945)
SVN-Revision: 20489
Diffstat (limited to 'package/nvram')
-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