From owner-svn-src-head@FreeBSD.ORG Wed Apr 18 17:44:05 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFD1A106566B; Wed, 18 Apr 2012 17:44:05 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AAE768FC15; Wed, 18 Apr 2012 17:44:05 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q3IHi5ZA042600; Wed, 18 Apr 2012 17:44:05 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q3IHi5vH042598; Wed, 18 Apr 2012 17:44:05 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201204181744.q3IHi5vH042598@svn.freebsd.org> From: Marcel Moolenaar Date: Wed, 18 Apr 2012 17:44:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r234427 - head/sys/modules/uart X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2012 17:44:05 -0000 Author: marcel Date: Wed Apr 18 17:44:05 2012 New Revision: 234427 URL: http://svn.freebsd.org/changeset/base/234427 Log: Compensate for the replacement of uart_cpu_{amd64|i386}.c with uart_cpu_x86.c Pointy hat: marcel Modified: head/sys/modules/uart/Makefile Modified: head/sys/modules/uart/Makefile ============================================================================== --- head/sys/modules/uart/Makefile Wed Apr 18 17:12:04 2012 (r234426) +++ head/sys/modules/uart/Makefile Wed Apr 18 17:44:05 2012 (r234427) @@ -7,16 +7,23 @@ uart_bus_ebus= uart_bus_ebus.c ofw_bus_if= ofw_bus_if.h .endif +.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" +_uart_cpu=uart_cpu_x86.c +.else +_uart_cpu=uart_cpu_${MACHINE}.c +.endif +.if exists(${.CURDIR:H:H}/dev/uart/${_uart_cpu}) +uart_cpu_machine= ${_uart_cpu} +.endif + 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_dbg.c \ + uart_core.c ${uart_cpu_machine} uart_dbg.c \ 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 -.if 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 \ power_if.h pccarddevs.h serdev_if.h