fix madwifi-tools defaults (use driver's defaults instead of specific board types)
[openwrt.git] / openwrt / package / madwifi-tools / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=madwifi
6 PKG_VERSION:=r1358-20051215
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=0ef00a095359e5af313f52446ebfbbf1
9
10 PKG_SOURCE_URL:=http://snapshots.madwifi.org/madwifi-ng
11 PKG_SOURCE:=$(PKG_NAME)-ng-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-ng-$(PKG_VERSION)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,MADWIFI_TOOLS_BASE,madwifi-tools-base,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH),kmod-madwifi))
19 $(eval $(call PKG_template,MADWIFI_TOOLS_STATS,madwifi-tools-stats,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH),kmod-madwifi))
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 $(MAKE) -C $(PKG_BUILD_DIR)/tools \
26 $(TARGET_CONFIGURE_OPTS) \
27 CFLAGS="$(TARGET_CFLAGS)" \
28 all
29 touch $@
30
31 $(IPKG_MADWIFI_TOOLS_BASE):
32 install -d -m0755 $(IDIR_MADWIFI_TOOLS_BASE)/usr/sbin
33 install -m0755 \
34 $(PKG_BUILD_DIR)/tools/athctrl \
35 $(PKG_BUILD_DIR)/tools/athkey \
36 $(PKG_BUILD_DIR)/tools/wlanconfig \
37 $(IDIR_MADWIFI_TOOLS_BASE)/usr/sbin
38 $(RSTRIP) $(IDIR_MADWIFI_TOOLS_BASE)
39 $(IPKG_BUILD) $(IDIR_MADWIFI_TOOLS_BASE) $(PACKAGE_DIR)
40
41 $(IPKG_MADWIFI_TOOLS_STATS):
42 install -d -m0755 $(IDIR_MADWIFI_TOOLS_STATS)/usr/sbin
43 install -m0755 \
44 $(PKG_BUILD_DIR)/tools/athstats \
45 $(PKG_BUILD_DIR)/tools/athdebug \
46 $(PKG_BUILD_DIR)/tools/80211stats \
47 $(PKG_BUILD_DIR)/tools/80211debug \
48 $(IDIR_MADWIFI_TOOLS_STATS)/usr/sbin
49 $(RSTRIP) $(IDIR_MADWIFI_TOOLS_STATS)
50 $(IPKG_BUILD) $(IDIR_MADWIFI_TOOLS_STATS) $(PACKAGE_DIR)
This page took 0.044528 seconds and 5 git commands to generate.