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

From: Jiri Olsa
Date: Tue Jan 06 2015 - 09:07:14 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/