kernel: 8250.ko is called 8250_core.ko on linux 3.7+, fixes package/kernel build...
authorFelix Fietkau <nbd@openwrt.org>
Thu, 17 Jan 2013 09:08:09 +0000 (09:08 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 17 Jan 2013 09:08:09 +0000 (09:08 +0000)
SVN-Revision: 35190

package/kernel/modules/other.mk

index 486565a..a96b699 100644 (file)
@@ -520,7 +520,7 @@ define KernelPackage/serial-8250
        CONFIG_SERIAL_8250_SHARE_IRQ=y \
        CONFIG_SERIAL_8250_DETECT_IRQ=n \
        CONFIG_SERIAL_8250_RSA=n
-  FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250.ko
+  FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250$(if $(call kernel_patchver_ge,3.7),_core).ko
 endef
 
 define KernelPackage/serial-8250/description