aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-26 20:56:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-26 20:56:58 +0000
commitc6ba35a9442047f7b54b42455a84c87bb1b4261f (patch)
treeb442deaf73e56fac72335e42933112c6923fc37e /package/madwifi/Makefile
parent548478cdb24d4f588659b4e64b062aabccd76047 (diff)
downloadupstream-c6ba35a9442047f7b54b42455a84c87bb1b4261f.tar.gz
upstream-c6ba35a9442047f7b54b42455a84c87bb1b4261f.tar.bz2
upstream-c6ba35a9442047f7b54b42455a84c87bb1b4261f.zip
implement support for wprobe in madwifi
SVN-Revision: 15051
Diffstat (limited to 'package/madwifi/Makefile')
-rw-r--r--package/madwifi/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 943a13c215..dcff41c2f4 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -39,6 +39,8 @@ else
PATCH_DIR=./patches
endif
+PKG_BUILD_DEPENDS:=wprobe
+
include $(INCLUDE_DIR)/package.mk
ifneq ($(CONFIG_TARGET_atheros),)
@@ -168,6 +170,16 @@ define KernelPackage/madwifi/config
source "$(SOURCE)/Config.in"
endef
+MADWIFI_INC = \
+ -I$(PKG_BUILD_DIR) \
+ -I$(PKG_BUILD_DIR)/include \
+ -I$(PKG_BUILD_DIR)/hal \
+ -I$(PKG_BUILD_DIR)/ath \
+ -I$(PKG_BUILD_DIR)/ath_hal \
+ -I$(PKG_BUILD_DIR)/net80211 \
+ -I$(STAGING_DIR)/usr/include \
+ -include $(PKG_BUILD_DIR)/include/compat.h
+
MAKE_ARGS:= \
PATH="$(TARGET_PATH)" \
ARCH="$(LINUX_KARCH)" \
@@ -179,6 +191,7 @@ MAKE_ARGS:= \
LDOPTS="--no-warn-mismatch " \
ATH_RATE="ath_rate/$(RATE_CONTROL)" \
DO_MULTI=1 \
+ INCS="$(MADWIFI_INC)" \
$(if $(CONFIG_MADWIFI_DEBUG),,DEBUG=) WARNINGS="-Wno-unused"
MAKE_VARS:= \