aboutsummaryrefslogtreecommitdiffstats
path: root/package/b43
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-11-10 15:23:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-11-10 15:23:02 +0000
commit7bc2213906a6830ce85303dd76ea62997f09425a (patch)
treed8c41d96706e267715767f4731fdbe829b055baa /package/b43
parent6845f7d37bd25c4aada8f99a1a6013b0fcc876a7 (diff)
downloadupstream-7bc2213906a6830ce85303dd76ea62997f09425a.tar.gz
upstream-7bc2213906a6830ce85303dd76ea62997f09425a.tar.bz2
upstream-7bc2213906a6830ce85303dd76ea62997f09425a.zip
clean up mac80211 related kernel version deps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9522 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/b43')
-rw-r--r--package/b43/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/package/b43/Makefile b/package/b43/Makefile
index 8d64302233..86b8621a3b 100644
--- a/package/b43/Makefile
+++ b/package/b43/Makefile
@@ -44,22 +44,18 @@ MAKE_OPTS:= \
LINUXINCLUDE="-I$(STAGING_DIR)/usr/include/mac80211 -I$(LINUX_DIR)/include -include linux/autoconf.h" \
$(EXTRA_KCONFIG)
-ifneq ($(findstring 2.6.23,$(LINUX_VERSION)),)
- define Build/Prepare
+define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./src/* $(PKG_BUILD_DIR)/
- endef
+endef
- define Build/Configure
- endef
+define Build/Configure
+endef
- define Build/Compile
+define Build/Compile
$(MAKE) -C "$(LINUX_DIR)" \
$(MAKE_OPTS) \
modules
- endef
-else
- override CONFIG_PACKAGE_kmod-b43=
-endif
+endef
$(eval $(call KernelPackage,b43))