X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a4a6443af12b7758b12020f561fa7fe2e0a3e87f..71a4f236661616ac54546b6658a15a84d2ff7cf9:/package/nvram/Makefile?ds=inline diff --git a/package/nvram/Makefile b/package/nvram/Makefile index 87e8b0659..cc1371ec6 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -11,18 +11,17 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nvram PKG_RELEASE:=1 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) - include $(INCLUDE_DIR)/package.mk define Package/nvram SECTION:=utils CATEGORY:=Utilities - DEPENDS:=@LINUX_2_4_BRCM + DEPENDS:=@TARGET_brcm_2_4 TITLE:=Broadcom config utility - DESCRIPTION:=\ - This package contains an utility to control broadcom's 'nvram' config \\\ - area. +endef + +define Package/nvram/description + This package contains an utility to control broadcom's 'nvram' config area. endef define Build/Prepare @@ -40,6 +39,8 @@ define Build/UninstallDev endef define Package/nvram/install + $(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_DIR) $(1)/usr/sbin