From owner-svn-src-head@freebsd.org Fri Nov 20 16:18:28 2015 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 D4B98A31704; Fri, 20 Nov 2015 16:18:28 +0000 (UTC) (envelope-from andrew@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 95B62109C; Fri, 20 Nov 2015 16:18:28 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tAKGIRuv037498; Fri, 20 Nov 2015 16:18:27 GMT (envelope-from andrew@FreeBSD.org) Received: (from andrew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tAKGIRov037496; Fri, 20 Nov 2015 16:18:27 GMT (envelope-from andrew@FreeBSD.org) Message-Id: <201511201618.tAKGIRov037496@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: andrew set sender to andrew@FreeBSD.org using -f From: Andrew Turner Date: Fri, 20 Nov 2015 16:18:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r291103 - in head/sys: conf modules X-SVN-Group: head 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.20 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: Fri, 20 Nov 2015 16:18:28 -0000 Author: andrew Date: Fri Nov 20 16:18:27 2015 New Revision: 291103 URL: https://svnweb.freebsd.org/changeset/base/291103 Log: DTrace is known to work on armv6, enable building it as a module. Reviewed by: imp Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D4221 Modified: head/sys/conf/kern.opts.mk head/sys/modules/Makefile Modified: head/sys/conf/kern.opts.mk ============================================================================== --- head/sys/conf/kern.opts.mk Fri Nov 20 16:12:22 2015 (r291102) +++ head/sys/conf/kern.opts.mk Fri Nov 20 16:18:27 2015 (r291103) @@ -59,7 +59,10 @@ __DEFAULT_NO_OPTIONS = \ # Things that don't work based on the CPU .if ${MACHINE_CPUARCH} == "arm" -BROKEN_OPTIONS+= CDDL ZFS +BROKEN_OPTIONS+= ZFS +. if ${MACHINE_ARCH:Marmv6*} == "" +BROKEN_OPTIONS+= CDDL +. endif .endif .if ${MACHINE_CPUARCH} == "mips" Modified: head/sys/modules/Makefile ============================================================================== --- head/sys/modules/Makefile Fri Nov 20 16:12:22 2015 (r291102) +++ head/sys/modules/Makefile Fri Nov 20 16:18:27 2015 (r291103) @@ -403,7 +403,8 @@ _autofs= autofs .endif .if ${MK_CDDL} != "no" || defined(ALL_MODULES) -.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" && \ +.if (${MACHINE_CPUARCH} != "arm" || ${MACHINE_ARCH:Marmv6*} == "") && \ + ${MACHINE_CPUARCH} != "mips" && \ ${MACHINE_CPUARCH} != "sparc64" SUBDIR+= dtrace .endif