From: Daniel Golle Date: Sat, 3 Jun 2017 18:29:20 +0000 (+0200) Subject: kernel: properly package 8250 serial PCI module X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=aef39358e6f6ffbd19607330a51f99328a95944d;p=openwrt%2Fstaging%2Flinusw.git kernel: properly package 8250 serial PCI module Signed-off-by: Daniel Golle --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 026343cc25..1b31a861f0 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -652,16 +652,19 @@ define KernelPackage/serial-8250 SUBMENU:=$(OTHER_MENU) TITLE:=8250 UARTs KCONFIG:= CONFIG_SERIAL_8250 \ + CONFIG_SERIAL_8250_PCI \ CONFIG_SERIAL_8250_NR_UARTS=16 \ - CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \ - CONFIG_SERIAL_8250_EXTENDED=y \ - CONFIG_SERIAL_8250_MANY_PORTS=y \ + CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \ + CONFIG_SERIAL_8250_EXTENDED=y \ + CONFIG_SERIAL_8250_MANY_PORTS=y \ 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 \ - $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko@ge4.4 + $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko@ge4.4 \ + $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/8250_pci.ko@ge4.4) + AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci) endef define KernelPackage/serial-8250/description