Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5235809imd; Tue, 30 Oct 2018 14:12:19 -0700 (PDT) X-Google-Smtp-Source: AJdET5coFmWkLESRi/qqPQ1pceAhf4Rqgw9OmJBe2bRj/8xyexwC0CLNv4DQZY3iTIdiT73d9FIM X-Received: by 2002:a17:902:930a:: with SMTP id bc10-v6mr346326plb.17.1540933939620; Tue, 30 Oct 2018 14:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540933939; cv=none; d=google.com; s=arc-20160816; b=yZ8CPS8isCBgaYR5K5mSDXq28O3bwDwwqXLesEut1iADCpCMN/bd/RNYnSvEi9BdW/ 5TikXBsGSD9qpu01W/zmkU86Z0E2lLz8NCNBZn4bM6EatT9eid1BHD2cHeAl2l9xZSvk LB0DkaHqEk266uz4x67ZdTvHDUBNqacaJ5o80MWNQoJ1+/M/0OrZM/VIlc9Yppzwzivx aZqB8/IWKofgnHD69LK4f6egh3zlnvxWErqKY9+8Ewc2Cw+Ke+Mfzrb95XQErnY9kiAS SW4AMk7292Q/Xh8eRpEORLTERcR1UoxwHzUgCYJSfSL6qNy9iND4RdzoYUPfjpLlSFVX +0XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Geo1F+rcWiR1yH6tDsVfLVgB6tNCnOzh06qBDUj6Wpw=; b=M8YOfDkpXFGhFKFfk6sF5i5uB3Nzby+P+F6jGCSMPB8xALveG7XBuPLfcU/jTQ/Eoi tL6d2CLETIIqy6wV1oZ3UianpJH6NXwWJNaK53KU4UMLc26I5XKdXYYd4XN5JPuBN87w HtEcs7QI0amy/zHcJTcvZcFZ0TOT4WS/urUeYJvIHm+IkUF7RJtavzLf44QtNYaY3urr G9yvScpcW532ywgC6PQuXAArWKxAYQ9Ea9n1R0tNgPT3IQKnlGtC/JPy2JW0ncwFvgfa 5hiqaUXOjcItY+KY/KA88gP4J7brWYvbpJdlOfIeilInz8YIVCh7VTCStV0zQEgRh+3v df0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=merO8jjf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q85-v6si25409187pfi.183.2018.10.30.14.12.03; Tue, 30 Oct 2018 14:12:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=merO8jjf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727453AbeJaGGj (ORCPT + 99 others); Wed, 31 Oct 2018 02:06:39 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:40369 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725743AbeJaGGj (ORCPT ); Wed, 31 Oct 2018 02:06:39 -0400 Received: by mail-qk1-f194.google.com with SMTP id f18-v6so8224406qkm.7; Tue, 30 Oct 2018 14:11:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Geo1F+rcWiR1yH6tDsVfLVgB6tNCnOzh06qBDUj6Wpw=; b=merO8jjfclSY449GGyNc6gtmZYe754ISceV1K31uiUFYlIxBKsX4XOzF/ieVUOw6EC uyClrdDEs5K3WWkxEm7oOwwBgPEt3pGbSYH9Pb0Ok/Jdn6mjb7vMza/JdKwvoFLonvM0 2KEZ2rzsKPpGjrDQ8uczOHylITpy9YxSp8K58= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Geo1F+rcWiR1yH6tDsVfLVgB6tNCnOzh06qBDUj6Wpw=; b=uUyJJBNolhCxK1euHsRWGNxz34xp05nrUxFJosV+iwdNSZx9NJ6p5Pej5yQHLFFTf6 KmsYP2MtAu97JNeUgkht79szYZgHLMGAXPN4wB+7cNnnHlI7AAooecTTAh78S0sAibc5 GgXVeA3o/NuU6wkJBsAFsdWA7Z4GOvEZdEtyDgX3T7weKln79C9yDc/Jtv5d1YK600Zb HW6da+u85fIm6VOD4se1Rlivt/cPYsEbxGxm1gTj/rMD0Q7PMCe6ZDSZD40wkT/A8IsG 6vRW/BzqXuuXVK5/OKS+7byEdTxdqE+Ie2B5V7mWIA1UxIGzC60wOosYwkSm85VoQLwO /hSA== X-Gm-Message-State: AGRZ1gJEVFnHIdVaBXufQlDcocPlMuKDkBmc1AOPIt+gHkk/Le9q5VA9 wuCqi9E36mLA//8pri5ZegVsePY5Y5K9uGFv47s= X-Received: by 2002:ae9:ef8a:: with SMTP id d132mr306114qkg.11.1540933893205; Tue, 30 Oct 2018 14:11:33 -0700 (PDT) MIME-Version: 1.0 References: <1540905994-6073-1-git-send-email-yamada.masahiro@socionext.com> In-Reply-To: <1540905994-6073-1-git-send-email-yamada.masahiro@socionext.com> From: Joel Stanley Date: Wed, 31 Oct 2018 07:41:21 +1030 Message-ID: Subject: Re: [PATCH v2 1/2] kbuild: replace cc-name test with CONFIG_CC_IS_CLANG To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-mips@linux-mips.org, Michal Marek , jhogan@kernel.org, Linux Kernel Mailing List , ralf@linux-mips.org, paul.burton@mips.com, Paul Mackerras , linuxppc-dev@lists.ozlabs.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 30 Oct 2018 at 23:58, Masahiro Yamada wrote: > > Evaluating cc-name invokes the compiler every time even when you are > not compiling anything, like 'make help'. This is not efficient. > > The compiler type has been already detected in the Kconfig stage. > Use CONFIG_CC_IS_CLANG, instead. Thanks, I didn't know about this. > > Signed-off-by: Masahiro Yamada > Acked-by: Michael Ellerman (powerpc) Acked-by: Joel Stanley Cheers, Joel