summaryrefslogtreecommitdiffstats
path: root/package/mac80211/Makefile
diff options
context:
space:
mode:
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)