2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
16 include $(INCLUDE_DIR
)/package.mk
20 DEPENDS
:=@LINUX_2_4_BRCM
21 TITLE
:=Broadcom config utility
22 DESCRIPTION
:=control utility for broadcom
's 'nvram
' config area
26 mkdir -p $(PKG_BUILD_DIR)
27 $(CP) ./src/* $(PKG_BUILD_DIR)
30 define Package/nvram/install
31 install -d -m0755 $(1)/usr/lib
32 $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(1)/usr/lib/
33 install -d -m0755 $(1)/usr/sbin
34 install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/
37 define Build/InstallDev
38 mkdir -p $(STAGING_DIR)/usr/lib
39 $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(STAGING_DIR)/usr/lib/
42 define Build/UninstallDev
43 rm -f $(STAGING_DIR)/usr/lib/lib{nvram,shared}*.so
46 $(eval $(call BuildPackage,nvram))