fix firewall script, add ar7 network if into the bridge by default
[openwrt.git] / target / linux / package / nvram / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=nvram
6 PKG_RELEASE:=1
7
8 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
9
10 include $(TOPDIR)/package/rules.mk
11
12 BR2_PACKAGE_NVRAM:=y # does not depend on menuconfig
13 $(eval $(call PKG_template,NVRAM,nvram,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
14
15 $(PKG_BUILD_DIR)/.prepared:
16 mkdir -p $(PKG_BUILD_DIR)
17 cp -a ./src/* $(PKG_BUILD_DIR)
18 touch $@
19
20 $(PKG_BUILD_DIR)/.built:
21 $(MAKE) -C $(PKG_BUILD_DIR) \
22 $(TARGET_CONFIGURE_OPTS) \
23 CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include"
24 touch $@
25
26 $(IPKG_NVRAM):
27 mkdir -p $(IDIR_NVRAM)/usr/lib
28 cp $(PKG_BUILD_DIR)/*.so $(IDIR_NVRAM)/usr/lib
29 mkdir -p $(IDIR_NVRAM)/usr/sbin
30 cp $(PKG_BUILD_DIR)/nvram $(IDIR_NVRAM)/usr/sbin
31 $(RSTRIP) $(IDIR_NVRAM)
32 $(IPKG_BUILD) $(IDIR_NVRAM) $(PACKAGE_DIR)
33
This page took 0.063801 seconds and 5 git commands to generate.