Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4501227ybb; Tue, 7 Apr 2020 08:41:06 -0700 (PDT) X-Google-Smtp-Source: APiQypKUcJw2gSG9a3aD+WwlXXojymTCA5MNQkXjiT3HS1zwCHTvRhJA5Ts8wYV1WR8rprfogQ+Y X-Received: by 2002:a4a:d011:: with SMTP id h17mr1690597oor.78.1586274066554; Tue, 07 Apr 2020 08:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586274066; cv=none; d=google.com; s=arc-20160816; b=T8+hSK8A635MJl7bil4ogNB6Zwqqpn1fRxfxzulyp0dZNDJ8u2gbE0ERxNB26RVKSo HB07/tWWpkJKYrYRzk1BeY8E3j0H3N3Vt4qISQUD6a49i4DT84TkBfXlshZo0OBNUm8C 2pEThMVEGmdCEUAC5XFCtxBjW55xlMu8sdKER/fWcb3M9nv2JE/fwmWkrmwXvE3AaRzE MbJcJbRPBZXFUYoc3yt3Lzl/pjTJVzz72UuAiFTFOqm49sGPuF6DN0w8Q2EEWq7brBBr jU2Q2H8nk9UclmO5blkxKahXS6wp3Eez/GzafDK9ZmaXDih6gu9w0kFmYJvnHfBVlw+9 GTdg== 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:dkim-filter; bh=XWjmG9EhuXnHJLGvG7qDJWptwWxm9QG76mUZi49RDfQ=; b=xsWW9mj6jQTS6MmKU2R97MciLUwh90rw4rg89ZIR8SkYnXJ5z2TjP7rUwf4FaAot+v 5O7Ego4Sd4yAda2YH1Fq9QtKpNBl5Im1xGMov3wYe35m0pcopA8Xh9PS24KJaPMOnaWl kZzEM5T+gY8NIQYu/H+e3mijrtizkFaHTmc5joR/WbA2KMAG6YnNmTCOki9HRVT/4Lcv HC2Rf96lsCAg3lpD4/EfpzS2cHjK5IrZEojplh3zqyqbvwLJ/MEgUZwi1HcCeM072NX8 z2wRoYiMa07rl2ts2c9Zlrv8vVv7Swtk3x4HZTP10AMNanE77NNpXK4Z9R8usO4tSI+H 8ukg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=OmOhA7FA; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g129si1421370oob.1.2020.04.07.08.40.53; Tue, 07 Apr 2020 08:41:06 -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=@nifty.com header.s=dec2015msa header.b=OmOhA7FA; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729458AbgDGPkX (ORCPT + 99 others); Tue, 7 Apr 2020 11:40:23 -0400 Received: from conssluserg-06.nifty.com ([210.131.2.91]:23941 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728917AbgDGPkW (ORCPT ); Tue, 7 Apr 2020 11:40:22 -0400 Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com [209.85.217.42]) (authenticated) by conssluserg-06.nifty.com with ESMTP id 037FeBsd030256; Wed, 8 Apr 2020 00:40:11 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 037FeBsd030256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1586274011; bh=XWjmG9EhuXnHJLGvG7qDJWptwWxm9QG76mUZi49RDfQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=OmOhA7FAZ+LP41dQDnZjEPtaWM8GH9eUtyp/1zMLhDI6BHGrG1mvtVli1vb6CK6to AFd/0Kibr3MiIqyhdx7iRiqs0Wc8vWsURPrtd7Cy1RPG20AFO/PNJxFHm5uBGaQ0Jn CVfJFzItnwQYAhIP3EWSFPRcc2+3K3oRDejai6reLV2nRPv5KcUYoVOGUoRcuuTcW9 kFwuSsgDchWHW5gON59lPr7o6P6+fDz03LvlEAR8B0FAISlZdhTzmqanB0Wdb1eEmU N0EyftTIbbH+SVPSpBXo3TPCALyeBB0WWegAUsSnBfsinDG1u0OHNsf115F69TIdSe WlYpYE+nzgNsQ== X-Nifty-SrcIP: [209.85.217.42] Received: by mail-vs1-f42.google.com with SMTP id s10so2451772vsi.9; Tue, 07 Apr 2020 08:40:11 -0700 (PDT) X-Gm-Message-State: AGi0PuYWeXxOG14Sh/Ni6fLssa5b5Tv3cnbdz+b1aFr2R78B7LR/kotW BUZzzXh108ozrKceiUtWK4LCILrEGcC//iW0K1w= X-Received: by 2002:a67:33cb:: with SMTP id z194mr2415038vsz.155.1586274010321; Tue, 07 Apr 2020 08:40:10 -0700 (PDT) MIME-Version: 1.0 References: <20200403090224.24045-1-masahiroy@kernel.org> <20200406180558.GA22412@dev.jcline.org> In-Reply-To: <20200406180558.GA22412@dev.jcline.org> From: Masahiro Yamada Date: Wed, 8 Apr 2020 00:39:34 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kbuild: add dummy toolchains to enable all cc-option etc. in Kconfig To: Jeremy Cline Cc: Linux Kbuild mailing list , Heiko Carstens , Vasily Gorbik , linux-s390 , Michal Kubecek , Philipp Rudo , Linux Kernel Mailing List 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, Apr 7, 2020 at 3:06 AM Jeremy Cline wrote: > > diff --git a/scripts/dummy-tools/ld b/scripts/dummy-tools/ld > > new file mode 100755 > > index 000000000000..3bc56ae4cc15 > > --- /dev/null > > +++ b/scripts/dummy-tools/ld > > @@ -0,0 +1,4 @@ > > +#!/bin/sh > > +# SPDX-License-Identifier: GPL-2.0-only > > + > > +# Dummy script that always succeeds > > It looks like scripts/Kbuild.include expects "$(LD) --version" to return > something. If it doesn't "ld-ifversion" stops working. Actually, scripts/Kbuild.include is not used in the Kconfig stage. So, scripts/dummy-tools/ld does not need to handle --version or -v, but we may do that in the future. I will support it in v2. > Other than that it seems to work as advertised. Thanks! > > - Jeremy > -- Best Regards Masahiro Yamada