diff options
author | nyan <nyan@FreeBSD.org> | 2013-04-22 13:02:41 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2013-04-22 13:02:41 +0000 |
commit | 3a6405f6721f107e9ffa0672da1b03f6892acc64 (patch) | |
tree | e7701bfae9498763fe2468cd418a5f648262c098 /sys/modules/uart | |
parent | eda2444ae00121752587bd2874453e58f3850012 (diff) | |
download | FreeBSD-src-3a6405f6721f107e9ffa0672da1b03f6892acc64.zip FreeBSD-src-3a6405f6721f107e9ffa0672da1b03f6892acc64.tar.gz |
Build uart_dev_lpc.c on arm only. This fixes pc98 build.
Diffstat (limited to 'sys/modules/uart')
-rw-r--r-- | sys/modules/uart/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile index b295b5f..e869f01 100644 --- a/sys/modules/uart/Makefile +++ b/sys/modules/uart/Makefile @@ -6,6 +6,10 @@ uart_bus_ebus= uart_bus_ebus.c .endif +.if ${MACHINE_CPUARCH} == "arm" +uart_dev_lpc= uart_dev_lpc.c +.endif + .if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "sparc64" ofw_bus_if= ofw_bus_if.h .endif @@ -23,7 +27,7 @@ KMOD= uart 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_bus_scc.c \ uart_core.c ${uart_cpu_machine} uart_dbg.c \ - uart_dev_lpc.c uart_dev_ns8250.c uart_dev_quicc.c uart_dev_sab82532.c \ + ${uart_dev_lpc} uart_dev_ns8250.c uart_dev_quicc.c uart_dev_sab82532.c \ uart_dev_z8530.c \ uart_if.c uart_if.h uart_subr.c uart_tty.c |