Re: [PATCH v3 1/4] DYNAMIC_FTRACE configurable with and without REGS

From: Steven Rostedt
Date: Mon Oct 01 2018 - 11:14:11 EST


On Mon, 1 Oct 2018 17:10:37 +0200
Torsten Duwe <duwe@xxxxxx> wrote:

> On Mon, Oct 01, 2018 at 05:06:06PM +0200, Ard Biesheuvel wrote:
> > On 1 October 2018 at 17:03, Torsten Duwe <duwe@xxxxxx> wrote:
> > > On Mon, Oct 01, 2018 at 04:52:27PM +0200, Ard Biesheuvel wrote:
> > >>
> > >> I guess we now have Kbuild/Kconfig support for this, no? I mean, we
> > >> can now show/hide options depending on the capabilities of the
> > >> toolchain.
> > >
> > > Config options depending on flags availability?
> > >
> > Yes. Note that 'make menuconfig' now prints the compiler version at
> > the top, and kconfig options can now 'depend' on compiler features,
>
> Ah, cool, got it. So unless anyone else thinks this patch is useful,
> feel free to disregard it ;-) Point taken.
>

Yes, please don't apply this patch. Have the build system figure out if
the tool chain can handle it or not.

-- Steve