diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile index f16d59aa7f6e..77ed6a91b078 100644 --- a/sys/modules/uart/Makefile +++ b/sys/modules/uart/Makefile @@ -26,8 +26,13 @@ uart_dev_mvebu=uart_dev_mvebu.c uart_dev_mu=uart_dev_mu.c .endif +.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" \ + ${MACHINE_CPUARCH} == "i386" +uart_bus_acpi=uart_bus_acpi.c +.endif + KMOD= uart -SRCS= uart_bus_acpi.c ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \ +SRCS= ${uart_bus_acpi} ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \ uart_bus_pci.c uart_bus_puc.c uart_bus_scc.c \ uart_core.c ${uart_cpu_machine} uart_dbg.c \ ${uart_dev_mvebu} uart_dev_ns8250.c ${uart_dev_mu} \