diff options
author | imp <imp@FreeBSD.org> | 2010-04-13 21:32:06 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-04-13 21:32:06 +0000 |
commit | 774192934f690033516115787193f7c572f7483e (patch) | |
tree | ccbc3c3dab38686606b650a01ae31fb8d4db120b /sys/modules/uart | |
parent | ba07cb441a5429954fe3e1da15f085e98acd98e6 (diff) | |
download | FreeBSD-src-774192934f690033516115787193f7c572f7483e.zip FreeBSD-src-774192934f690033516115787193f7c572f7483e.tar.gz |
Only compile in uart_cpu_$MACHINE.c if it exists. I'm not sure how
useful it will be, but we really need to be keying off something other
than MACHINE for this anyway since on arm and mips we have lots of
these running around (one for each SoC family)...
Diffstat (limited to 'sys/modules/uart')
-rw-r--r-- | sys/modules/uart/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile index d47e2ab..06b3c9b 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 \ |