[Buildroot] [PATCH v2] package/perf: build outside kernel tree

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Mar 19 12:15:51 UTC 2015


Dear Steven Noonan,

On Thu, 19 Mar 2015 03:57:31 -0700, Steven Noonan wrote:
> This is necessary for introducing patches.
> 
> Signed-off-by: Steven Noonan <steven at uplinklabs.net>

Can you describe a little bit more what is happening here, and why we
are doing this?

In some cases, the current dependency of the perf package on building a
Linux kernel is a bit annoying: when I do kernel development, I tend to
build my kernel outside of Buildroot. But I still would like to be able
to use Buildroot to build tools like perf. So in some sense, what
you're proposing here makes some sense.

But it is not very efficient to extract twice the entire kernel source
code, and there is the issue of code duplication pointed out by Baruch.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list