kernel: properly package 8250 serial PCI module

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2017-06-03 20:29:20 +02:00
parent bfa2e945de
commit aef39358e6

View file

@ -652,6 +652,7 @@ define KernelPackage/serial-8250
SUBMENU:=$(OTHER_MENU) SUBMENU:=$(OTHER_MENU)
TITLE:=8250 UARTs TITLE:=8250 UARTs
KCONFIG:= CONFIG_SERIAL_8250 \ KCONFIG:= CONFIG_SERIAL_8250 \
CONFIG_SERIAL_8250_PCI \
CONFIG_SERIAL_8250_NR_UARTS=16 \ CONFIG_SERIAL_8250_NR_UARTS=16 \
CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \ CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
CONFIG_SERIAL_8250_EXTENDED=y \ CONFIG_SERIAL_8250_EXTENDED=y \
@ -661,7 +662,9 @@ define KernelPackage/serial-8250
CONFIG_SERIAL_8250_RSA=n CONFIG_SERIAL_8250_RSA=n
FILES:= \ FILES:= \
$(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \ $(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 endef
define KernelPackage/serial-8250/description define KernelPackage/serial-8250/description