summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/modules/uart/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile
index 0bff8ec..9fc15c0 100644
--- a/sys/modules/uart/Makefile
+++ b/sys/modules/uart/Makefile
@@ -2,8 +2,12 @@
.PATH: ${.CURDIR}/../../dev/uart
+.if ${MACHINE_ARCH} == "sparc64"
+uart_bus_ebus= uart_bus_ebus.c
+.endif
+
KMOD= uart
-SRCS= uart_bus_acpi.c uart_bus_ebus.c uart_bus_isa.c uart_bus_pccard.c \
+SRCS= uart_bus_acpi.c ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \
uart_bus_pci.c uart_bus_puc.c uart_core.c uart_cpu_${MACHINE}.c \
uart_dev_i8251.c uart_dev_ns8250.c uart_dev_sab82532.c \
uart_dev_z8530.c uart_if.c uart_tty.c
OpenPOWER on IntegriCloud