3 include $(TOPDIR
)/rules.mk
8 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
10 include $(TOPDIR
)/package
/rules.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 install -d -m0755 $(1)/usr/sbin
27 $(CP) $(PKG_BUILD_DIR)/*.so $(1)/usr/lib
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)/*.so $(STAGING_DIR)/usr/lib
36 define Build/UninstallDev
37 rm -f $(STAGING_DIR)/usr/lib/libshared*.so \
38 $(STAGING_DIR)/usr/lib/libnvram*.so
41 $(eval $(call BuildPackage,nvram))