mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
21dd9478d7
SVN-Revision: 27863
18 lines
424 B
Diff
18 lines
424 B
Diff
--- 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
|