diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile index 06b3c9bd01dd..862930db80cf 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 -.elif exists(${CURDIR}/uart_cpu_${MACHINE}.c) +.elif exists(${.CURDIR}/../../dev/uart/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 \