From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] elfutils: Add a --{enable, disable}-backends option
Date: Thu, 2 Apr 2015 09:23:05 +0200 [thread overview]
Message-ID: <20150402092305.4778c30b@free-electrons.com> (raw)
In-Reply-To: <CAGszK3hLApL5Pu383ywUppoApVSwZWDp026dZ11_tphCQ3469A@mail.gmail.com>
Dear Jan Heylen,
On Thu, 2 Apr 2015 09:12:53 +0200, Jan Heylen wrote:
> > Patches should have a description and a Signed-off-by line.
> Ah, I didn`t realise that on that level it was required, I'll fix it
Yes, we also require a description + SoB *inside* patches for packages.
See
http://buildroot.org/downloads/manual/manual.html#_format_and_licensing_of_the_package_patches.
> > Also, could you submit this patch upstream? I'd like to see if upstream
> > is willing to accept such a patch, since it is more or less a "feature"
> > patch, and we prefer to not have to carry such patches forever.
> This is based on 0002-disable-progs.patch, so it belongs in buildroot?
> I'll try to upstream it to the elfutils package.
Agreed that 0002-disable-progs.patch is basically the same sauce. It
would be great to upstream these patches.
> > This explanation seems weird: why would you link against libelf and not
> > use it?
>
> The backends are plaform specific implementations, for every supported
> platform. And, e.g. perf package which sources come with the Linux
> kernel has a compile time dependency on it.On older kernels (<= 3,7),
> the perf package requires libelf, from the eflutils package. But for
> plenty of the features of perf, elfutils backends (libebl) are not
> required at runtime. As backporting patches for not depending on
> elfutils for all former kernel version is obviously not the best
> method, I believe making it possible to not compile/install the
> backends of libebl in your rootfs is a legitimate option (saves >300K
> (stripped)).
Ok, understood.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-04-02 7:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-01 18:12 [Buildroot] [PATCH 1/1] elfutils: Add a --{enable, disable}-backends option Jan Heylen
2015-04-01 19:43 ` Thomas Petazzoni
2015-04-02 7:12 ` Jan Heylen
2015-04-02 7:23 ` Thomas Petazzoni [this message]
2015-04-02 7:26 ` Jan Heylen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150402092305.4778c30b@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox