From owner-svn-src-head@freebsd.org Sat Sep 9 20:14:19 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6F65E076E8; Sat, 9 Sep 2017 20:14:19 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 747CB7796E; Sat, 9 Sep 2017 20:14:19 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v89KEIeD099702; Sat, 9 Sep 2017 20:14:18 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v89KEITK099701; Sat, 9 Sep 2017 20:14:18 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201709092014.v89KEITK099701@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Sat, 9 Sep 2017 20:14:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r323375 - head/sys/modules/uart X-SVN-Group: head X-SVN-Commit-Author: imp X-SVN-Commit-Paths: head/sys/modules/uart X-SVN-Commit-Revision: 323375 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 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: Sat, 09 Sep 2017 20:14:19 -0000 Author: imp Date: Sat Sep 9 20:14:18 2017 New Revision: 323375 URL: https://svnweb.freebsd.org/changeset/base/323375 Log: Don't build uart_dev_mvebu unless we're on arm64. This module is specific to a single Marvel board that we currently only support in 64-bit mode. Remove it from the build otherwise. It likely should be completely removed, but this unbreaks x86 building. Noticed by: sbruno@ Modified: head/sys/modules/uart/Makefile Modified: head/sys/modules/uart/Makefile ============================================================================== --- head/sys/modules/uart/Makefile Sat Sep 9 20:08:26 2017 (r323374) +++ head/sys/modules/uart/Makefile Sat Sep 9 20:14:18 2017 (r323375) @@ -25,12 +25,16 @@ _uart_cpu=uart_cpu_${MACHINE}.c uart_cpu_machine= ${_uart_cpu} .endif +.if ${MACHINE} == "arm64" +uart_dev_mvebu=uart_dev_mvebu.c +.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_cpu_machine} uart_dbg.c \ ${uart_dev_lpc} uart_dev_ns8250.c uart_dev_quicc.c uart_dev_sab82532.c \ - uart_dev_z8530.c uart_dev_mvebu.c \ + uart_dev_z8530.c ${uart_dev_mvebu} \ uart_if.c uart_if.h uart_subr.c uart_tty.c SRCS+= acpi_if.h bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} \