aboutsummaryrefslogtreecommitdiffstats
path: root/package/nvram/Makefile
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
commitf681e74ed68ee6153ca94cc25a9ef6ca5c987215 (patch)
tree3d91fe82ee69eeba2e0cc8d25a8e4cbdbaebea9d /package/nvram/Makefile
parent05678c3b53ae235eacea624d60b969c25d08234b (diff)
downloadmaster-187ad058-f681e74ed68ee6153ca94cc25a9ef6ca5c987215.tar.gz
master-187ad058-f681e74ed68ee6153ca94cc25a9ef6ca5c987215.tar.bz2
master-187ad058-f681e74ed68ee6153ca94cc25a9ef6ca5c987215.zip
[package] fix wrt-radauth compilation failure (#6945)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20489 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/nvram/Makefile')
-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