lkml.org 
[lkml]   [2015]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC/PATCHSET 00/30] perf tools: New build framework

* Jiri Olsa <jolsa@kernel.org> wrote:

> [...] The basic idea is the same as in kbuild system, with some
> minor changes to allow for multiple binaries build definitions.

> tools/perf/Build | 48 ++
> tools/perf/Build.include | 75 ++++
> tools/perf/Documentation/Build | 123 +++++
> tools/perf/Makefile.build | 122 +++++
> tools/perf/Makefile.perf | 566 +++---------------------

> 47 files changed, 827 insertions(+), 541 deletions(-)

Even the diffstat looks pretty good: only a modest line count
increase.

It would be useful to put this (and other build features - such
as features/parallelisation support) into tools/kbuild/ though,
so that other tooling can make easy use of it as well. For
example tools/kvm/ (an external project) started off with an
earlier version of the perf build system.

Sharing that would make quite a bit of sense, as tooling (and
most user-space project) build systems are usually have pretty
poor quality.

Thanks,

Ingo


\
 
 \ /
  Last update: 2015-01-02 18:41    [W:1.042 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site