summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/Config.in1
-rw-r--r--target/linux/package/madwifi/Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/Config.in b/target/linux/Config.in
index 22b2f8dbd1..e4189bd5c2 100644
--- a/target/linux/Config.in
+++ b/target/linux/Config.in
@@ -53,6 +53,7 @@ config BR2_LINUX_2_6_BRCM
depends BR2_mipsel
depends BR2_LINUX_2_6
select BR2_PACKAGE_KMOD_B44
+ select BR2_PACKAGE_KMOD_MADWIFI
help
Build firmware images for Broadcom based routers
(e.g. Netgear WGT634u)
diff --git a/target/linux/package/madwifi/Makefile b/target/linux/package/madwifi/Makefile
index 732cd45251..e108eebe5a 100644
--- a/target/linux/package/madwifi/Makefile
+++ b/target/linux/package/madwifi/Makefile
@@ -28,7 +28,7 @@ ifeq ($(ARCH),i386)
HAL_TARGET:=i386-elf
endif
-ifeq ($(LINUX_VERSION),2.4.30)
+ifeq ($(KERNEL),2.4)
MODUL_SUFFIX=o
else
MODUL_SUFFIX=ko