Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4208755rwo; Tue, 25 Jul 2023 02:20:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlHZBgQNG0uU8kVI3wVGuhK/OPXzPw7f9aU5Wvohe/sb1e+atVR9Ypx0BoCuq/qOu1g13dJj X-Received: by 2002:a17:907:2c68:b0:974:55a2:cb0b with SMTP id ib8-20020a1709072c6800b0097455a2cb0bmr12550074ejc.55.1690276823399; Tue, 25 Jul 2023 02:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690276823; cv=none; d=google.com; s=arc-20160816; b=JJSvTZt0/YCPejEsi34QvE5jwOaT2vqjbMiqDG0SeHwmu7LNtKoHBqsbcgySIm/rUn /T5t92XvEC6VqMf8AStLtzJyO/48oZU8x0LLROCiDkaadJfFGjH8aBJS6p/Hzx6KEZ8/ K2bVkxWV/JkjoquskbVSAlbZCjovLkIBiUM56lsqowElPPj4+lJvPlI5Kl7aCHRjZVLD CGog02VGXdGdfLIcRYsX6naFedGKbMuMKlQ/H+qN30O63xnSkfgu+K+J1yrFGaUbsTx9 ZJNWo39hZpxyY2/j/q9sIw4u1Js/pYblfcOcZthuqhdPBWik+3WG9CME6kq1CDzhbMpA epIg== 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; bh=7d43+Iaf+DEeeWDY8q00lpQuEcMaswXnHkMfW2cKRNU=; fh=Dq5DMULvdH4c7HdcDvhx134/DzLErjeH9iEfuAMzlTo=; b=vYfpSCCt27f9P+xz55HWZJCm9lDhpBDTEe4tp5IrRpwospPBrgPk43+Bg07Oleepnc URHRhv2mEqcrAMh7D+T5thANtiZy79PzXl7w2oHymwDwvgImidzHKJSE3UzxQMHvJM1E FUDRTxVba+tRU9VrtUptq4AyQPGExu2nMcLJdGpttQPh8i6lFGC4Ac4a365kI8ozpAtY CgQraqbfIHfACzW5rZvThnunHHprvO+i7V/pNSc8Xf+AvDfzJQ9s7lTvNEaPUWKAeRpc v02HJuxjbCYK9DzwdnbUBm8/rigwGGlnpH9ONpIbDvXcJdUQ8ai24LQ7rMg4TK6uccwf qTjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n1-20020a170906118100b0099381745ba0si8104926eja.156.2023.07.25.02.19.59; Tue, 25 Jul 2023 02:20:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232462AbjGYJAG (ORCPT + 99 others); Tue, 25 Jul 2023 05:00:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232488AbjGYI77 (ORCPT ); Tue, 25 Jul 2023 04:59:59 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F3E599B; Tue, 25 Jul 2023 01:59:53 -0700 (PDT) Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1qODtR-0008Gn-00; Tue, 25 Jul 2023 10:59:45 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 50418C01C7; Tue, 25 Jul 2023 10:44:46 +0200 (CEST) Date: Tue, 25 Jul 2023 10:44:46 +0200 From: Thomas Bogendoerfer To: "Maciej W. Rozycki" Cc: Jan-Benedict Glaw , Guillaume Tucker , Huacai Chen , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] MIPS: Fix build issues from the introduction of `need-compiler' Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 18, 2023 at 03:37:13PM +0100, Maciej W. Rozycki wrote: > Hi, > > With the addition of the `need-compiler' variable the `Makefile.compiler' > fragment is not included with no-build targets such as `modules_install', > which in turn means $(call cc-option,), etc. are no-ops with these targets > and any attempt to evaluate these function calls causes all kinds of weird > behaviour to happen. > > The solution is to avoid making these calls in the first place, as they > are surely irrelevant where the compiler is not going to be otherwise > invoked. This small patch series fixes two places known-affected in the > MIPS Makefile fragment and also included a follow-up revert of an earlier > misguided attempt. See individual change descriptions for details. > > Verified with `decstation_64_defconfig' and `fuloong2e_defconfig' using > `modules_install'. Please apply. series applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]