1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-08-23 13:34:37 +03:00
openwrt-xburst/package/mac80211/patches/050-compat_firmware.patch

18 lines
424 B
Diff
Raw Normal View History

--- a/compat/Makefile
+++ b/compat/Makefile
@@ -1,10 +1,13 @@
obj-m += compat.o
#compat-objs :=
-obj-$(CONFIG_COMPAT_FIRMWARE_CLASS) += compat_firmware_class.o
compat-y += main.o
+ifdef CONFIG_COMPAT_FIRMWARE_CLASS
+ compat-y += compat_firmware_class.o
+endif
+
# Compat kernel compatibility code
compat-$(CONFIG_COMPAT_KERNEL_2_6_14) += compat-2.6.14.o
compat-$(CONFIG_COMPAT_KERNEL_2_6_18) += compat-2.6.18.o