From owner-svn-src-all@freebsd.org Wed Oct 9 21:18:46 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D123A12FA7B; Wed, 9 Oct 2019 21:18:46 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pRsf58sSz42RY; Wed, 9 Oct 2019 21:18:46 +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 7AF8B1E850; Wed, 9 Oct 2019 21:18:46 +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 x99LIk57048262; Wed, 9 Oct 2019 21:18:46 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x99LIkHB048260; Wed, 9 Oct 2019 21:18:46 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201910092118.x99LIkHB048260@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Wed, 9 Oct 2019 21:18:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r353370 - head X-SVN-Group: head X-SVN-Commit-Author: imp X-SVN-Commit-Paths: head X-SVN-Commit-Revision: 353370 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Oct 2019 21:18:46 -0000 Author: imp Date: Wed Oct 9 21:18:46 2019 New Revision: 353370 URL: https://svnweb.freebsd.org/changeset/base/353370 Log: Wordsmith and simplify Simplify expressions as suggested by jhb. The extra indirection made sense in earlier versions of this patch, but not the final one. While here, apply suggestion from emaste for wording of universe. Also wordsmith awkwardly worded comment about when we effectively neuter the universe build for an architecture. Once llvm 9.0 has been vetted for mips and powerpc, I'll take them out of these lists. Modified: head/Makefile Modified: head/Makefile ============================================================================== --- head/Makefile Wed Oct 9 21:08:51 2019 (r353369) +++ head/Makefile Wed Oct 9 21:18:46 2019 (r353370) @@ -7,8 +7,8 @@ # all kernels on all architectures). Define # MAKE_JUST_KERNELS to only build kernels, # MAKE_JUST_WORLDS to only build userland, and/or -# MAKE_OBSOLETE_GCC to build architectures unsupported -# by clang. +# MAKE_OBSOLETE_GCC to also build architectures +# unsupported by clang using in-tree gcc. # tinderbox - Same as universe, but presents a list of failed build # targets and exits with an error if there were any. # buildworld - Rebuild *everything*, including glue to help do @@ -490,10 +490,8 @@ worlds: .PHONY # In all cases, if the user specifies TARGETS on the command line, # honor that most of all. # -_DEFAULT_TARGETS=amd64 arm arm64 i386 riscv _OBSOLETE_GCC_TARGETS=mips powerpc sparc64 -_DEFAULT_TARGETS+=${_OBSOLETE_GCC_TARGETS} -TARGETS?=${_DEFAULT_TARGETS} +TARGETS?=amd64 arm arm64 i386 riscv ${_OBSOLETE_GCC_TARGETS} _UNIVERSE_TARGETS= ${TARGETS} TARGET_ARCHES_arm?= arm armv6 armv7 TARGET_ARCHES_arm64?= aarch64 @@ -518,10 +516,10 @@ TOOLCHAINS_powerpc= powerpc64 TOOLCHAINS_riscv= riscv64 TOOLCHAINS_sparc64= sparc64 -# Remove architectures only supported by external toolchain from universe -# if required toolchain packages are missing. -# When MAKE_OBSOLETE_GCC is not defined, this effecitvely forces this for -# the in-tree gcc 4.2.1 targets as well. +# Remove architectures only supported by external toolchain from +# universe if required toolchain packages are missing. riscv requires +# an out-of-tree toolchain. When MAKE_OBSOLETE_GCC is not defined, +# the same logic appleis to the obsolete gcc targets. .for target in riscv ${OBSOLETE_GCC_TARGETS} .if ${_UNIVERSE_TARGETS:M${target}} .for toolchain in ${TOOLCHAINS_${target}}