Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2014250rdb; Mon, 9 Oct 2023 09:44:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGgxVYPdXl8uniLvyCbVDBnl8jg/JSBcDXbyKoVuFhL+rXwWaJaIG3LjEds+AppBeQ+5nz/ X-Received: by 2002:a05:6358:1ca:b0:135:57d0:d171 with SMTP id e10-20020a05635801ca00b0013557d0d171mr14395250rwa.15.1696869877990; Mon, 09 Oct 2023 09:44:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696869877; cv=none; d=google.com; s=arc-20160816; b=gk44C64op9RN7KDYc5RYPc4skFmwgYnswkiK7IxY5WFRnP07JD8MYu7ju8+7rLaIqQ bNRMoS8FGTrIUyM7pPKr4+LeQ1ziq77dZlTgpG/2KtAkxOziPaxJ/ejTLFYimtNXg+O5 j6qcikzM/y05n3XODSocL+SoxmP3OOxCkjx/nrfXKHcjzL5j1HvaJktvnEfrgIz/Qa1Z tWGDBDkex3SeK1866BKfQ+fRWgMXkcHq/66RNuqP84nu045hX4IvFGLMTX00AX3tpmdJ YGpwBvsqwMJdqOfHzDhHReZhwlr+RQO0VtaZ5weqow8cIy1p8Nx/HdYQa93WnEOtOofu ZWAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=glHeTgheecYGoTScCdS2i2mh1FMkEDgMiRodGAdb2A0=; fh=SughfDG6q89phIvo0y8UapFAqjPFaKpfGQwy1tXAu3M=; b=cZHapBBe/yqq+2mHK8EsbgBEAeByC06cApTfgHAjMX1loQbTE341rKif7SUERH3yiM 3Up7XUXFVtEGUxIGAqRZYTCisFrQi6Ow2Dyc13F6gJWgp/WBlyoicaBndcnyhLPiUWzx P4AgUv75V9PG+PnkzPRby4lx8bq9nziaGekNDUwhJBWFBqzgQ7yKpAQahze7T1GTXfq0 bSEnyjEmcNiHw40g3sL6OkVzm6vItDMdIckzu8uOKKMHxkJ5hLVgXrrFrJ2oNoBmiDSg +gm8tgU7uKvHxZ+zc/bGWKb7Xo7ZtL4Ot25bLf1DFPOqWxRS0Qx05WpSS0Uwy56E0WAy qgVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Fv81rrzf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id m65-20020a633f44000000b0056da0ae25d0si10197589pga.499.2023.10.09.09.44.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 09:44:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Fv81rrzf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 824C78079DC0; Mon, 9 Oct 2023 09:44:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377336AbjJIQo3 (ORCPT + 99 others); Mon, 9 Oct 2023 12:44:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377138AbjJIQo2 (ORCPT ); Mon, 9 Oct 2023 12:44:28 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 219D49C; Mon, 9 Oct 2023 09:44:27 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F078CC433C9; Mon, 9 Oct 2023 16:44:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696869866; bh=hih2ojuht8Q/T9suSdsZNAYc2MUvDRpGqPW8913YgAY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Fv81rrzfBlhmCSyzSbFm4f8JmVVlagKhI0OSyXRpR9/9h6b+FdXcgjHwMZf+cp2su mbqmY3gelrBeruWabdjhdJ7id0I+kYb4WQts1gPqLjS+3CJCbaChYfdPpuALshd0S2 D0ujnmXLy7Y+ZKbyA/zoyhV0p0PlZ4oe0eSIh2/bG/xa0s8wb7AWDZcGyWM51/JUlA zGbn0/kqtcasGNaUv9ytjnTsHF9fztBTPtXE3lvmuDEhMnXarop6rBifKltQEQZBbh 6dACfPxTF0tS/Qi+1I18u2riwu+RYVcpIqDkoZorHn1XiP07DP4IBEhM9xHDO58CAb sMMh+aXVY62tA== Date: Mon, 9 Oct 2023 09:44:24 -0700 From: Nathan Chancellor To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-parisc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-um@lists.infradead.org, loongarch@lists.linux.dev, sparclinux@vger.kernel.org, x86@kernel.org, Nick Desaulniers , Nicolas Schier Subject: Re: [PATCH 5/5] kbuild: unify no-compiler-targets and no-sync-config-targets Message-ID: <20231009164424.GB1153868@dev-arch.thelio-3990X> References: <20231009124210.1064021-1-masahiroy@kernel.org> <20231009124210.1064021-5-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231009124210.1064021-5-masahiroy@kernel.org> X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 09 Oct 2023 09:44:35 -0700 (PDT) X-Spam-Level: ** On Mon, Oct 09, 2023 at 09:42:10PM +0900, Masahiro Yamada wrote: > Now that vdso_install does not depend on any in-tree build artifact, > it no longer invokes a compiler, making no-compiler-targets the same > as no-sync-config-targets. > > Signed-off-by: Masahiro Yamada > --- > > Makefile | 13 +------------ > 1 file changed, 1 insertion(+), 12 deletions(-) > > diff --git a/Makefile b/Makefile > index 2170d56630e8..982b1ad33287 100644 > --- a/Makefile > +++ b/Makefile > @@ -277,10 +277,6 @@ no-dot-config-targets := $(clean-targets) \ > $(version_h) headers headers_% archheaders archscripts \ > %asm-generic kernelversion %src-pkg dt_binding_check \ > outputmakefile rustavailable rustfmt rustfmtcheck > -# Installation targets should not require compiler. Unfortunately, vdso_install > -# is an exception where build artifacts may be updated. This must be fixed. > -no-compiler-targets := $(no-dot-config-targets) install dtbs_install \ > - headers_install modules_install modules_sign kernelrelease image_name > no-sync-config-targets := $(no-dot-config-targets) %install modules_sign kernelrelease \ > image_name > single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.rsi %.s %.symtypes %/ > @@ -288,7 +284,6 @@ single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.rsi %.s %.symtypes % > config-build := > mixed-build := > need-config := 1 > -need-compiler := 1 > may-sync-config := 1 > single-build := > > @@ -298,12 +293,6 @@ ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),) > endif > endif > > -ifneq ($(filter $(no-compiler-targets), $(MAKECMDGOALS)),) > - ifeq ($(filter-out $(no-compiler-targets), $(MAKECMDGOALS)),) > - need-compiler := > - endif > -endif > - MIPS and LoongArch seem to have grown a usage of need-compiler in 4fe4a6374c4d ("MIPS: Only fiddle with CHECKFLAGS if `need-compiler'") and 54c2c9df083f ("LoongArch: Only fiddle with CHECKFLAGS if `need-compiler'"). With this removal, should those be updated as well? > ifneq ($(filter $(no-sync-config-targets), $(MAKECMDGOALS)),) > ifeq ($(filter-out $(no-sync-config-targets), $(MAKECMDGOALS)),) > may-sync-config := > @@ -675,7 +664,7 @@ endif > > # Include this also for config targets because some architectures need > # cc-cross-prefix to determine CROSS_COMPILE. > -ifdef need-compiler > +ifdef may-sync-config > include $(srctree)/scripts/Makefile.compiler > endif > > -- > 2.39.2 >