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
This commit is contained in:
Andrew Turner 2015-11-20 16:18:27 +00:00
parent aeef645f92
commit c92ef78663
2 changed files with 6 additions and 2 deletions

View File

@ -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"

View File

@ -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