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.
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
obj-m += \
drivers/ssb/ \
drivers/misc/eeprom/ \
+ drivers/net/ \
drivers/net/usb/ \
drivers/net/wireless/
endif
# 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/