X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e94772e7a30ee6d27ec99a9bc6b65161d6e32fb3..fd7d7215c62c223031426b1b84e96cd4186bd148:/package/nvram/Makefile diff --git a/package/nvram/Makefile b/package/nvram/Makefile index 1fd82cd71..318e4d593 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -18,7 +18,6 @@ include $(INCLUDE_DIR)/package.mk define Package/nvram SECTION:=utils CATEGORY:=Utilities - DEFAULT:=y DEPENDS:=@LINUX_2_4_BRCM TITLE:=Broadcom config utility DESCRIPTION:=\ @@ -41,10 +40,12 @@ define Build/UninstallDev endef define Package/nvram/install - install -d -m0755 $(1)/usr/lib + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/nvram.init $(1)/etc/init.d/nvram + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(1)/usr/lib/ - install -d -m0755 $(1)/usr/sbin - install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/ + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/ endef $(eval $(call BuildPackage,nvram))