summaryrefslogtreecommitdiffstats
path: root/package/mac80211/Makefile
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2012-10-03 23:24:38 +0300
committerRoman Yeryomin <roman@advem.lv>2012-12-03 00:13:22 +0200
commit6cc390963c977be2e83118d37057d7a317926d9d (patch)
tree16f12e8c71baa8876a74cbd13e3d0ab9069ebd8a /package/mac80211/Makefile
parentf2b2b5865a77bb22592eeb78ccd417babad5812f (diff)
patch mac80211 makefile
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r--package/mac80211/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 806c5cdfd..9bf4ee634 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -1364,11 +1364,21 @@ ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)
endef
endif
+ifneq ($(CONFIG_PACKAGE_kmod-ath5k),)
define Build/Configure
- cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h
+endef
+endif
+ifneq ($(CONFIG_PACKAGE_kmod-ath9k),)
+define Build/Configure
+ cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
+endef
+endif
+ifneq ($(CONFIG_PACKAGE_kmod-rt2x00-lib),)
+define Build/Configure
cmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h
endef
+endif
define Build/Compile
$(call Build/Compile/kmod)