3 include $(TOPDIR
)/rules.mk
8 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
10 include $(INCLUDE_DIR
)/package.mk
14 DEPENDS
:=@LINUX_2_4_BRCM
15 TITLE
:=Broadcom config utility
16 DESCRIPTION
:=control utility for broadcom
's 'nvram
' config area
20 mkdir -p $(PKG_BUILD_DIR)
21 $(CP) ./src/* $(PKG_BUILD_DIR)
24 define Package/nvram/install
25 install -d -m0755 $(1)/usr/lib
26 $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(1)/usr/lib/
27 install -d -m0755 $(1)/usr/sbin
28 install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/
31 define Build/InstallDev
32 mkdir -p $(STAGING_DIR)/usr/lib
33 $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(STAGING_DIR)/usr/lib/
36 define Build/UninstallDev
37 rm -f $(STAGING_DIR)/usr/lib/lib{nvram,shared}*.so
40 $(eval $(call BuildPackage,nvram))