> On Mar 27, 2015, at 1:54 AM, Bjoern A. Zeeb <b...@freebsd.org> wrote: > > >> On 27 Mar 2015, at 02:35 , Warner Losh <i...@freebsd.org> wrote: >> >> Author: imp >> Date: Fri Mar 27 02:35:25 2015 >> New Revision: 280728 >> URL: https://svnweb.freebsd.org/changeset/base/280728 >> >> Log: >> Categorize certain kernel builds as being broken in certain places. >> >> Differential Revision: https://reviews.freebsd.org/D2011 >> >> Modified: >> head/sys/conf/kern.opts.mk >> >> Modified: head/sys/conf/kern.opts.mk >> ============================================================================== >> --- head/sys/conf/kern.opts.mk Fri Mar 27 02:35:11 2015 >> (r280727) >> +++ head/sys/conf/kern.opts.mk Fri Mar 27 02:35:25 2015 >> (r280728) >> @@ -75,6 +75,34 @@ BROKEN_OPTIONS+= EISA >> BROKEN_OPTIONS+= OFED >> .endif >> >> +# Options that cannot be turned on this architecture, usually because >> +# of compilation or other issues so severe it cannot be used even >> +# on an experimental basis >> +__ALWAYS_NO_OPTIONS= >> + >> +# Things that don't work based on the CPU >> +.if ${MACHINE_CPUARCH} == "arm" >> +__ALWAYS_NO_OPTIONS+= CDDL ZFS >> +.endif >> + >> +.if ${MACHINE_CPUARCH} == "mips" >> +__ALWAYS_NO_OPTIONS+= CDDL ZFS >> +.endif >> + > > > Wouldn’t this also mean no Dtrace on arm or mips? Please revert this.
This just enshrines what’s already in the sys/modules/Makefiles. It already wasn’t building them for arm or mips. This doesn’t change that. It also doesn’t change the ability of people to add these to the list of files that are built. The module files don’t check. There’s nothing to revert. Warner
signature.asc
Description: Message signed with OpenPGP using GPGMail