From 6cc390963c977be2e83118d37057d7a317926d9d 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 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) -- cgit v1.2.3