From 3a6405f6721f107e9ffa0672da1b03f6892acc64 Mon Sep 17 00:00:00 2001 From: nyan Date: Mon, 22 Apr 2013 13:02:41 +0000 Subject: Build uart_dev_lpc.c on arm only. This fixes pc98 build. --- sys/modules/uart/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/modules') 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 -- cgit v1.1