From e51dd7738628acaf8f2160175ed10f4a69f995ab Mon Sep 17 00:00:00 2001 From: Aleksander Jan Bajkowski Date: Fri, 2 Dec 2022 23:48:02 +0100 Subject: [PATCH] kernel: other: limit serial-8250-exar to devices with PCI support Kmod-serial-8250-exar supports Serial cards connected via PCIe bus. On targets without PCI support, this package is empty. Signed-off-by: Aleksander Jan Bajkowski --- package/kernel/linux/modules/other.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 262aca4324..75e978085b 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -901,7 +901,7 @@ define KernelPackage/serial-8250-exar KCONFIG:= CONFIG_SERIAL_8250_EXAR FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250_exar.ko AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_exar) - DEPENDS:=+kmod-serial-8250 + DEPENDS:=@PCI_SUPPORT +kmod-serial-8250 endef define KernelPackage/serial-8250-exar/description -- 2.30.2