diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-04-27 12:57:29 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-04-27 12:57:29 +0000 |
commit | 6eec3954effc6702e2f8459b27d77d5fe86e8c60 (patch) | |
tree | 2c1f9aa637492ceabcbececbfad463f5ddc5c24a /package/unvram/Makefile | |
parent | 128b623ec87d8f22412c40436a610e6a03517745 (diff) | |
download | mtk-20170518-6eec3954effc6702e2f8459b27d77d5fe86e8c60.zip mtk-20170518-6eec3954effc6702e2f8459b27d77d5fe86e8c60.tar.gz mtk-20170518-6eec3954effc6702e2f8459b27d77d5fe86e8c60.tar.bz2 |
unvram: rename executable to "nvram" and place it in /usr/sbin, add fixup init script from old nvram package
SVN-Revision: 15435
Diffstat (limited to 'package/unvram/Makefile')
-rw-r--r-- | package/unvram/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/package/unvram/Makefile b/package/unvram/Makefile index c62873e..fa8f661 100644 --- a/package/unvram/Makefile +++ b/package/unvram/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=unvram -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) @@ -18,6 +18,7 @@ define Package/unvram SECTION:=utils CATEGORY:=Base system TITLE:=Userspace port of the Broadcom NVRAM manipulation tool + DEPENDS:=@TARGET_brcm_2_4||@TARGET_brcm47xx endef define Package/unvram/description @@ -41,8 +42,10 @@ define Build/Compile endef define Package/unvram/install - $(INSTALL_DIR) $(1)/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/unvram $(1)/sbin/ + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/nvram.init $(1)/etc/init.d/nvram + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/usr/lib $(INSTALL_BIN) $(PKG_BUILD_DIR)/libnvram.so.0.1 $(1)/usr/lib/ endef |