add pf_ring patches for kernel and libpcap
[openwrt.git] / package / wificonf / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=wificonf
6 PKG_RELEASE:=5
7
8 PKG_BUILD_DIR:=$(BUILD_DIR)/wificonf
9
10 include $(TOPDIR)/package/rules.mk
11
12 ifneq ($(BOARD),brcm)
13 BR2_PACKAGE_WIFICONF:=m
14 endif
15
16 $(eval $(call PKG_template,WIFICONF,$(PKG_NAME),$(PKG_RELEASE),$(ARCH)))
17
18 $(PKG_BUILD_DIR)/.prepared:
19 mkdir -p $@
20 touch $@
21
22 $(PKG_BUILD_DIR)/.built:
23 $(TARGET_CC) $(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -o $(PKG_BUILD_DIR)/wifi wificonf.c -L$(STAGING_DIR)/usr/lib -lnvram -lshared $(STAGING_DIR)/usr/lib/libiw.so
24 touch $@
25
26 $(IPKG_WIFICONF):
27 install -d -m0755 $(IDIR_WIFICONF)/sbin
28 install -m0755 $(PKG_BUILD_DIR)/wifi $(IDIR_WIFICONF)/sbin/
29 $(RSTRIP) $(IDIR_WIFICONF)
30 $(IPKG_BUILD) $(IDIR_WIFICONF) $(PACKAGE_DIR)
This page took 0.050645 seconds and 5 git commands to generate.