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 486565a11bfb313ced30dc8487335e070d373c2e..a96b6997dd02b92fbf3684afedc2960627c260fd 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