[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <58e4bd69c15fd0e0cf3de32e8ed53296d34c7e1e.camel@sipsolutions.net>
Date: Tue, 04 May 2021 22:52:41 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Arvind Sankar <nivedita@...m.mit.edu>,
Andrew Morton <akpm@...ux-foundation.org>,
Brendan Higgins <brendanhiggins@...gle.com>,
Catalin Marinas <catalin.marinas@....com>,
Changbin Du <changbin.du@...el.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Randy Dunlap <rdunlap@...radead.org>,
Will Deacon <will@...nel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] kconfig: unify cc-option and as-option
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
Powered by blists - more mailing lists