mac80211: move compat_firmware_class.ko into compat.ko (fixes #9864)
[openwrt/staging/chunkeey.git] / package / mac80211 / patches / 050-compat_firmware.patch
1 --- a/compat/Makefile
2 +++ b/compat/Makefile
3 @@ -1,10 +1,13 @@
4 obj-m += compat.o
5 #compat-objs :=
6
7 -obj-$(CONFIG_COMPAT_FIRMWARE_CLASS) += compat_firmware_class.o
8
9 compat-y += main.o
10
11 +ifdef CONFIG_COMPAT_FIRMWARE_CLASS
12 + compat-y += compat_firmware_class.o
13 +endif
14 +
15 # Compat kernel compatibility code
16 compat-$(CONFIG_COMPAT_KERNEL_2_6_14) += compat-2.6.14.o
17 compat-$(CONFIG_COMPAT_KERNEL_2_6_18) += compat-2.6.18.o