aboutsummaryrefslogtreecommitdiffstats
path: root/package/bcm43xx-mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-22 04:55:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-22 04:55:38 +0000
commitcc6a10de5ba6695de1359d718056920b515c30d9 (patch)
treebe718303301415a9efa9f458b035976070c6d3da /package/bcm43xx-mac80211
parent6f66a0ae1b071cb7a8528d6bafac06c48bc8f297 (diff)
downloadupstream-cc6a10de5ba6695de1359d718056920b515c30d9.tar.gz
upstream-cc6a10de5ba6695de1359d718056920b515c30d9.tar.bz2
upstream-cc6a10de5ba6695de1359d718056920b515c30d9.zip
for bcm43xx-mac80211 as well
SVN-Revision: 7703
Diffstat (limited to 'package/bcm43xx-mac80211')
-rw-r--r--package/bcm43xx-mac80211/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/package/bcm43xx-mac80211/Makefile b/package/bcm43xx-mac80211/Makefile
index d423620430..4725cd7e18 100644
--- a/package/bcm43xx-mac80211/Makefile
+++ b/package/bcm43xx-mac80211/Makefile
@@ -32,8 +32,10 @@ define KernelPackage/bcm43xx-mac80211
VERSION:=$(PKG_RELEASE)+$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)
DEPENDS:=@LINUX_2_6 +kmod-mac80211
SUBMENU:=Wireless Drivers
+ ifneq ($(KERNEL_PATCHVER),2.6.21)
# AUTOLOAD:=$(call AutoLoad,30,bcm43xx-mac80211)
- FILES:=$(PKG_BUILD_DIR)/bcm43xx-mac80211.$(LINUX_KMOD_SUFFIX)
+ FILES:=$(PKG_BUILD_DIR)/bcm43xx-mac80211.$(LINUX_KMOD_SUFFIX)
+ endif
endef
define Build/Prepare
@@ -41,13 +43,15 @@ define Build/Prepare
$(CP) ./src/bcm43xx/* $(PKG_BUILD_DIR)/
endef
-define Build/Compile
+ifneq ($(KERNEL_PATCHVER),2.6.21)
+ define Build/Compile
$(MAKE) $(MAKE_CONFIGS) -C "$(LINUX_DIR)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH="$(LINUX_KARCH)" \
EXTRA_CFLAGS="$(BUILDFLAGS)" \
SUBDIRS="$(PKG_BUILD_DIR)" \
modules
-endef
+ endef
+endif
$(eval $(call KernelPackage,bcm43xx-mac80211))