On Fri, Sep 18, 2026 at 06:25:08PM -0700, Nathan Chancellor wrote:
> On Fri, Sep 18, 2026 at 05:59:24PM -0700, Kees Cook wrote:
> > Hi,
> >
> > While reviewing the recent build speedup series[1], it became clear
> > that we needed a general solution in kconfig to avoid repeating detected
> > toolchain options. Implement cc-option-str and ld-option-str, and while
> > at it, create "def_string" and friends to match "def_bool".
> >
> > -Kees
> >
> > [1] https://lore.kernel.org/all/20260918054058.GA384222@ax162/
> >
> > Kees Cook (3):
> >   kconfig: Add "def_string", "def_int" and "def_hex"
> >   kconfig: Replace "cc-option-bit" with "cc-option-str"
> >   kconfig: Add "ld-option-str"
>
> Thanks, exactly what I had in mind. This seems reasonable to me and
> passes my basic testing. I will let folks chime in for a few days then
> apply this to kbuild-next so that Lorenzo can use it as part of the
> speed up series.

Agreed, I will base my local v4 on it and send that (obviously once I've
gone through review commentary etc.) once things have settled and rebase
the series on kbuild-next!

since I sent v3 on thurs I'll likely aim for weds/thurs next week for v4
but I'll wait until this series is in place before I do it obviously! :)

>
> --
> Cheers,
> Nathan

--
Cheers, Lorenzo

Reply via email to