aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/uart
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2010-04-13 21:32:06 +0000
committerWarner Losh <imp@FreeBSD.org>2010-04-13 21:32:06 +0000
commitb74668b1df5ae19e11384f8a8b595cedfa70432e (patch)
treeccbc3c3dab38686606b650a01ae31fb8d4db120b /sys/modules/uart
parent22f456b409476352eb9cd2b9b9da30eb5c772a47 (diff)
Notes
Diffstat (limited to 'sys/modules/uart')
-rw-r--r--sys/modules/uart/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile
index d47e2abed529..06b3c9bd01dd 100644
--- a/sys/modules/uart/Makefile
+++ b/sys/modules/uart/Makefile
@@ -16,7 +16,7 @@ SRCS= uart_bus_acpi.c ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \
uart_if.c uart_if.h uart_subr.c uart_tty.c
.if ${MACHINE} == "sun4v"
SRCS+= uart_cpu_sparc64.c
-.else
+.elif exists(${CURDIR}/uart_cpu_${MACHINE}.c)
SRCS+= uart_cpu_${MACHINE}.c
.endif
SRCS+= bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} pci_if.h \