3 include $(TOPDIR
)/rules.mk
8 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
10 include $(TOPDIR
)/package
/rules.mk
16 TITLE
:=Broadcom config utility
17 DESCRIPTION
:=control utility for broadcom
's 'nvram
' config area
21 mkdir -p $(PKG_BUILD_DIR)
22 $(CP) ./src/* $(PKG_BUILD_DIR)
26 define Package/nvram/install
27 install -d -m0755 $(IDIR_NVRAM)/usr/lib
28 install -d -m0755 $(IDIR_NVRAM)/usr/sbin
29 $(CP) $(PKG_BUILD_DIR)/*.so $(IDIR_NVRAM)/usr/lib
30 install -m0755 $(PKG_BUILD_DIR)/nvram $(IDIR_NVRAM)/usr/sbin
33 compile-targets: install-dev
34 install-dev: $(PKG_BUILD_DIR)/.built
35 mkdir -p $(STAGING_DIR)/usr/lib
36 $(CP) $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib