From owner-svn-src-head@freebsd.org Sun Oct 21 06:52:11 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5297CFD7FF2; Sun, 21 Oct 2018 06:52:11 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0942B7EA31; Sun, 21 Oct 2018 06:52:11 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 043A51D52; Sun, 21 Oct 2018 06:52:11 +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 w9L6qAh4029243; Sun, 21 Oct 2018 06:52:10 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9L6qAUb029242; Sun, 21 Oct 2018 06:52:10 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201810210652.w9L6qAUb029242@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Sun, 21 Oct 2018 06:52:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r339525 - head/share/mk X-SVN-Group: head X-SVN-Commit-Author: imp X-SVN-Commit-Paths: head/share/mk X-SVN-Commit-Revision: 339525 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.29 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: Sun, 21 Oct 2018 06:52:11 -0000 Author: imp Date: Sun Oct 21 06:52:10 2018 New Revision: 339525 URL: https://svnweb.freebsd.org/changeset/base/339525 Log: Use BROKEN_OPTIONS for NVME, HYPERV, CXGBETOOL and MLX5TOOL instead of __DEFAULT_YES/NO. These options simply cannot work where we were using __DEFAULT_NO. The proper thing to do in that case is to use the BROKEN_OPTIONS knob instead. Modified: head/share/mk/src.opts.mk Modified: head/share/mk/src.opts.mk ============================================================================== --- head/share/mk/src.opts.mk Sun Oct 21 06:33:35 2018 (r339524) +++ head/share/mk/src.opts.mk Sun Oct 21 06:52:10 2018 (r339525) @@ -85,6 +85,7 @@ __DEFAULT_YES_OPTIONS = \ CTM \ CUSE \ CXX \ + CXGBETOOL \ DIALOG \ DICT \ DMAGENT \ @@ -111,6 +112,7 @@ __DEFAULT_YES_OPTIONS = \ GPIO \ HAST \ HTML \ + HYPERV \ ICONV \ INET \ INET6 \ @@ -140,12 +142,14 @@ __DEFAULT_YES_OPTIONS = \ MAIL \ MAILWRAPPER \ MAKE \ + MLX5TOOL \ NDIS \ NETCAT \ NETGRAPH \ NLS_CATALOGS \ NS_CACHING \ NTP \ + NVME \ OFED \ OPENSSL \ PAM \ @@ -365,27 +369,20 @@ BROKEN_OPTIONS+=LOADER_GELI LOADER_LUA # profiling won't work on MIPS64 because there is only assembly for o32 BROKEN_OPTIONS+=PROFILE .endif -.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "i386" || \ - ${__T} == "powerpc64" || ${__T} == "sparc64" -__DEFAULT_YES_OPTIONS+=CXGBETOOL -__DEFAULT_YES_OPTIONS+=MLX5TOOL -.else -__DEFAULT_NO_OPTIONS+=CXGBETOOL -__DEFAULT_NO_OPTIONS+=MLX5TOOL +.if ${__T} != "aarch64" && ${__T} != "amd64" && ${__T} != "i386" && \ + ${__T} != "powerpc64" && ${__T} != "sparc64" +BROKEN_OPTIONS+=CXGBETOOL +BROKEN_OPTIONS+=MLX5TOOL .endif # HyperV is currently x86-only -.if ${__T} == "amd64" || ${__T} == "i386" -__DEFAULT_YES_OPTIONS+=HYPERV -.else -__DEFAULT_NO_OPTIONS+=HYPERV +.if ${__T} != "amd64" && ${__T} != "i386" +BROKEN_OPTIONS+=HYPERV .endif # NVME is only x86 and powerpc64 -.if ${__T} == "amd64" || ${__T} == "i386" || ${__T} == "powerpc64" -__DEFAULT_YES_OPTIONS+=NVME -.else -__DEFAULT_NO_OPTIONS+=NVME +.if ${__T} != "amd64" && ${__T} != "i386" && ${__T} != "powerpc64" +BROKEN_OPTIONS+=NVME .endif .include