Re: [PATCH 01/30] perf tools: Add new build framework support

Jiri Olsa
2015-01-06T14:07:08Z

On Tue, Jan 06, 2015 at 11:41:08AM -0200, Arnaldo Carvalho de Melo wrote:

SNIP

> > the reason for this switch is to have a first step towards
> > easy config support 'kernel Kconfig style like' in build
> >
> > also with this change it's easier to see how the perf binary
> > is build and what flags were used for particular object..
> > at least for kernel developer used to kbuild ;-)
> >
> > I also believe that the support to allow just part of the perf
> > code in perf binary will force the less spaghetti code ;-)
>
> Right, making it possible for us to build a minimalistic perf will have
> manifold good implications :-)
>
> But perhaps we could continue calling it the same way as in the kernel?
> I.e. we would then be using the "Kbuild" build configuration mechanism,
> the K would be there just for historic reasons.

well, the main reason I used 'Build' instead of 'KBuild' was to
'say' that this is not Kbuild makefile.. because it's not ;-)

It's separated build framework with no dependency on KBuild
makefiles. I think the 'KBuild' name could mislead folks when
hunting things in perf build.

jirka