Skip to contentSkip to conversation

compat-wireless: Fix b44 build issues.

PATCH In review Tim Gardner 2 participants 2 messages Sep 30, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compat-wireless: Fix b44 build issues.

Quoted 1 line

From 553180d80860c6090b7d82f809ea7131afca01d6 Mon Sep 17 00:00:00 2001

From: Tim Gardner <[email protected]>
Date: Wed, 30 Sep 2009 10:02:35 -0600
Subject: [PATCH] compat-wireless: Fix b44 build issues.

Even though CONFIG_B44 is defined, there is no Makefile created in drivers/net. This failure to build allows the in-kernel version of b44 to get loaded with a compat-wireless version of ssb.ko, never a good thing.

---
 Makefile                |    1 +
 scripts/admin-update.sh |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
Makefile +1 -0
index c7333a2..fa9aadc 100644
@@ -24,6 +24,7 @@ ifeq ($(ONLY_CORE),)
 obj-m += \
 	drivers/ssb/ \
 	drivers/misc/eeprom/ \
+	drivers/net/ \
 	drivers/net/usb/ \
 	drivers/net/wireless/
 endif
scripts/admin-update.sh +1 -0
index c65952d..cb42fe7 100755
@@ -149,6 +149,7 @@ done
 # b44 is dependent on ssb, so its has to be rebuilt as well.
 DIR="drivers/net"
 cp $GIT_TREE/$DIR/b44.[ch] $DIR
+echo "obj-m += b44.o" > $DIR/Makefile
 
 # Misc
 mkdir -p drivers/misc/eeprom/
Signature · 1 line
1.6.2.4
#1 lore raw
Quoted 11 lines · Tim Gardner

From 553180d80860c6090b7d82f809ea7131afca01d6 Mon Sep 17 00:00:00 2001
From: Tim Gardner <[email protected]>
Date: Wed, 30 Sep 2009 10:02:35 -0600
Subject: [PATCH] compat-wireless: Fix b44 build issues.

Even though CONFIG_B44 is defined, there is no Makefile created in drivers/net. This failure to build allows the in-kernel version of b44 to get loaded with a compat-wireless version of ssb.ko, never a good thing.

Applied thanks. I must've fat fingered a commit and push after testing driver-select, whoopsie.. sorry about that.

Luis