check if some /proc files exist, before using it, for systems without diag kernel...
[openwrt.git] / openwrt / package / madwifi-tools / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=madwifi
6 PKG_VERSION:=2005-08-13
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=188127127aebd8815595c025a787d729
9
10 PKG_SOURCE_URL:=http://madwifi.otaku42.de/2005/08/
11 PKG_SOURCE:=$(PKG_NAME)-cvs-snapshot-$(PKG_VERSION).tar.bz2
12 PKG_CAT:=bzcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,MADWIFI_TOOLS,madwifi-tools,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH),kmod-madwifi))
19
20 $(PKG_BUILD_DIR)/.configured:
21 touch $@
22
23 $(PKG_BUILD_DIR)/.built:
24 $(MAKE) -C $(PKG_BUILD_DIR)/tools \
25 $(TARGET_CONFIGURE_OPTS)
26 touch $@
27
28 $(IPKG_MADWIFI_TOOLS):
29 mkdir -p $(IDIR_MADWIFI_TOOLS)/usr/sbin
30 cp -fpR $(PKG_BUILD_DIR)/tools/athstats \
31 $(PKG_BUILD_DIR)/tools/athdebug \
32 $(PKG_BUILD_DIR)/tools/80211stats \
33 $(PKG_BUILD_DIR)/tools/80211debug \
34 $(PKG_BUILD_DIR)/tools/athctrl \
35 $(PKG_BUILD_DIR)/tools/athkey \
36 $(IDIR_MADWIFI_TOOLS)/usr/sbin
37 $(RSTRIP) $(IDIR_MADWIFI_TOOLS)
38 $(IPKG_BUILD) $(IDIR_MADWIFI_TOOLS) $(PACKAGE_DIR)
This page took 0.039627 seconds and 5 git commands to generate.