Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3991193pxy; Tue, 4 May 2021 15:01:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQ+rXTaw1e1GoA9/cNN7TkO+8REBGgTZL4BMDsjON2ExxL1w4uPAN3+yU6i/zmmb22FQBN X-Received: by 2002:a17:902:9898:b029:ee:9128:f53f with SMTP id s24-20020a1709029898b02900ee9128f53fmr27961090plp.32.1620165711594; Tue, 04 May 2021 15:01:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620165711; cv=none; d=google.com; s=arc-20160816; b=V6AuemkrFGqCc34Z6X/gLHokYuNLweKbRGzBXC2ewlXuaMPEnmIsjdjdrhI1AAY7Jc DAovR4LyMytoz8F2dlDKCqTKq/lfXAv8gXvitSQLKxUGoXN+sh1dVTXX4zTJymX10UqI ow/j9U2QAp42ACm8l98PpmAIlOwjPPDloMO+OMUxMsPbnWFn3czi/WgY87mF5la62qL1 tu5D2YvDP/jJW7iwmBQHhgNauFmOo9mY8OV9LOIejlmL9+IIL6Mx6Uk7plSyCDw6skgo xGdMVkZe3oK1ymfTyvkEhvZkdeuGHjZ5fGZMnnCaX4heGzMbVQx/ieIlp5OysqTeF9F2 FC0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=jn35tWi57oVr+DJBZ49bkZ+n99xAB62hZzmElvpYAsw=; b=txGYMw/+gadlcx55gXlEpM/tsZPqnZ1nvSxeRLKy/XxUZF3kn/US4PrJ9oVtafMDal v++bhQZBd3CnSh4hbHhE+0V+uJbSKH/YcsBEwa5c89MKIs/Wtaxujv0l1dHaHsk6Wv3o TYjVBRRnr+F3emin5GKQ8AVARSZbhYjqo2qdkwg6gu9eeUAQQRrB74EVp8JAnwXswJLg gUVeN6mYYcJAv8e2SgI09TDVv4xGFWNa02MxictpQheUEaWEav76QXPlxem58yO90fuM 7Cq7QwlVLuowUtoYPc8rxrDB2bRytGuyN7Jp9HgkWD7CVSfLySIy7Jr9s7dS6vBn08Cb NlnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si9205565pfv.239.2021.05.04.15.01.37; Tue, 04 May 2021 15:01:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229868AbhEDUxv (ORCPT + 99 others); Tue, 4 May 2021 16:53:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbhEDUxv (ORCPT ); Tue, 4 May 2021 16:53:51 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BF7BC061574; Tue, 4 May 2021 13:52:55 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1le226-004AwV-RF; Tue, 04 May 2021 22:52:42 +0200 Message-ID: <58e4bd69c15fd0e0cf3de32e8ed53296d34c7e1e.camel@sipsolutions.net> Subject: Re: [PATCH 2/2] kconfig: unify cc-option and as-option From: Johannes Berg To: Masahiro Yamada Cc: Linux Kbuild mailing list , Nick Desaulniers , Arvind Sankar , Andrew Morton , Brendan Higgins , Catalin Marinas , Changbin Du , Krzysztof Kozlowski , Mauro Carvalho Chehab , Randy Dunlap , Will Deacon , linux-arm-kernel , Linux Kernel Mailing List Date: Tue, 04 May 2021 22:52:41 +0200 In-Reply-To: References: <20200614144341.1077495-1-masahiroy@kernel.org> <20200614144341.1077495-2-masahiroy@kernel.org> <70868660127bd13dcc47e94108483ff15827378c.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2021-05-05 at 05:46 +0900, Masahiro Yamada wrote: > >  - This commit touches scripts/Kconfig.include. >  - External module builds (M= builds) never invoke Kconfig > > Putting these two together, your claim is really odd. Hmm. > If external module builds invoke Kconfig, > your kernel is already broken. Well, it's not about the kernel, that's just the normal upstream (or perhaps distribution) kernel. Anyway, you're right, it's much simpler. The problem isn't invoking M= or something like that, that happens much later and sent me on the completely wrong track. The problem is simply doing make kernelversion to determine the version of a tree that's not writable to the user, e.g. make -C /lib/modules/$(uname -r)/build/ kernelversion Which basically also means that it's harmless, since the version is of course not affected by cc-option. johannes