Remove reference to old ar7-2.4 code
[openwrt.git] / package / nvram / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=nvram
12 PKG_RELEASE:=1
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/nvram
19 SECTION:=utils
20 CATEGORY:=Utilities
21 DEPENDS:=@LINUX_2_4_BRCM
22 TITLE:=Broadcom config utility
23 DESCRIPTION:=\
24 This package contains an utility to control broadcom's 'nvram' config \\\
25 area.
26 endef
27
28 define Build/Prepare
29 mkdir -p $(PKG_BUILD_DIR)
30 $(CP) ./src/* $(PKG_BUILD_DIR)
31 endef
32
33 define Build/InstallDev
34 mkdir -p $(STAGING_DIR)/usr/lib
35 $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(STAGING_DIR)/usr/lib/
36 endef
37
38 define Build/UninstallDev
39 rm -f $(STAGING_DIR)/usr/lib/lib{nvram,shared}*.so
40 endef
41
42 define Package/nvram/install
43 $(INSTALL_DIR) $(1)/usr/lib
44 $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(1)/usr/lib/
45 $(INSTALL_DIR) $(1)/usr/sbin
46 $(INSTALL_BIN) $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/
47 endef
48
49 $(eval $(call BuildPackage,nvram))
This page took 0.058411 seconds and 5 git commands to generate.