From f1b3affef4622229561e9101984b34aa610831d5 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Wed, 3 Oct 2012 23:24:38 +0300 Subject: patch mac80211 makefile Signed-off-by: Roman Yeryomin --- package/mac80211/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index e5bcdc3b1..672411eff 100644 --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -1427,11 +1427,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) -- cgit v1.2.3