fix firewall script, add ar7 network if into the bridge by default
[openwrt.git] / target / linux / package / openwrt / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME := base-files-arch
6 PKG_RELEASE := 1
7 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
8
9 include $(TOPDIR)/package/rules.mk
10
11 BR2_PACKAGE_OPENWRT:=y # ignore menuconfig
12 $(eval $(call PKG_template,OPENWRT,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
13
14 $(PKG_BUILD_DIR)/.prepared:
15 mkdir -p $(PKG_BUILD_DIR)
16 touch $@
17
18 ifeq ($(BOARD),brcm)
19 $(PKG_BUILD_DIR)/jffs2root: jffs2root.c
20 $(TARGET_CC) -o $@ $<
21
22 $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/jffs2root
23
24 $(IDIR_OPENWRT)/sbin/jffs2root:
25 mkdir -p $(IDIR_OPENWRT)/sbin
26 cp $(PKG_BUILD_DIR)/jffs2root $(IDIR_OPENWRT)/sbin
27
28 $(IPKG_OPENWRT): $(IDIR_OPENWRT)/sbin/jffs2root
29 endif
30
31 $(PKG_BUILD_DIR)/.built:
32 touch $@
33
34 $(IPKG_OPENWRT):
35 mkdir -p $(IDIR_OPENWRT)/etc
36 cp files/network.overrides.$(BOARD) $(IDIR_OPENWRT)/etc/network.overrides
37 $(RSTRIP) $(IDIR_OPENWRT)
38 $(IPKG_BUILD) $(IDIR_OPENWRT) $(PACKAGE_DIR)
39
40 compile: install-dev
41 install-dev:
42 mkdir -p $(STAGING_DIR)/usr/include
43 cp -a ./include/* $(STAGING_DIR)/usr/include/
This page took 0.043421 seconds and 5 git commands to generate.