From: Gregory CLEMENT <gregory.clement@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/4] avrdude: Depend on elfutils instead of libelf to get the libel library
Date: Thu, 28 Aug 2014 12:04:55 +0200 [thread overview]
Message-ID: <53FEFEC7.5060001@free-electrons.com> (raw)
In-Reply-To: <20140828100214.GC4042@free.fr>
Hi Yann,
On 28/08/2014 12:02, Yann E. MORIN wrote:
> Gregory, All,
>
> On 2014-08-28 11:47 +0200, Gregory CLEMENT spake thusly:
>> The elfutils package provides a more recent version of the libelf, so
>> let's use it. It will allow to remove the libelf package and to avoid
>> conflicts with two packages providing the same library.
>>
>> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
>
> Slight typo in subject: "the libel library" <- libelf
>
>> ---
>> package/avrdude/Config.in | 2 +-
>> package/avrdude/avrdude.mk | 2 +-
>> 2 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/package/avrdude/Config.in b/package/avrdude/Config.in
>> index 8eac014..5de8301 100644
>> --- a/package/avrdude/Config.in
>> +++ b/package/avrdude/Config.in
>> @@ -1,6 +1,6 @@
>> config BR2_PACKAGE_AVRDUDE
>> bool "avrdude"
>> - select BR2_PACKAGE_LIBELF
>> + select BR2_PACKAGE_ELFUTILS
>
> You need to propagate the dependencies from elfutils too, because
> 'select' does not propagate them, see chapter "Choosing depends on or
> select" in the manual:
> http://buildroot.net/downloads/manual/manual.html#_literal_config_in_literal_file
Oh yes indeed I saw it for ltrace. I will send a new patch set soon by
updating this patch the kexec-lite patch too.
Thanks,
Gregory
>
> Regards,
> Yann E. MORIN.
>
>> select BR2_PACKAGE_LIBUSB
>> select BR2_PACKAGE_LIBUSB_COMPAT
>> select BR2_PACKAGE_NCURSES
>> diff --git a/package/avrdude/avrdude.mk b/package/avrdude/avrdude.mk
>> index 7876c1d..03d6490 100644
>> --- a/package/avrdude/avrdude.mk
>> +++ b/package/avrdude/avrdude.mk
>> @@ -12,7 +12,7 @@ AVRDUDE_SUBDIR = avrdude
>> # Sources coming from git, without generated configure and Makefile.in
>> # files.
>> AVRDUDE_AUTORECONF = YES
>> -AVRDUDE_DEPENDENCIES = libelf libusb libusb-compat ncurses \
>> +AVRDUDE_DEPENDENCIES = elfutils libusb libusb-compat ncurses \
>> host-flex host-bison
>> AVRDUDE_LICENSE = GPLv2+
>> AVRDUDE_LICENSE_FILES = avrdude/COPYING
>> --
>> 1.9.1
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2014-08-28 10:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-28 9:47 [Buildroot] [PATCH 0/4] Use only elfutils package to provide the libelf library Gregory CLEMENT
2014-08-28 9:47 ` [Buildroot] [PATCH 1/4] ltrace: Removes the libelf dependency Gregory CLEMENT
2014-08-28 9:58 ` Yann E. MORIN
2014-08-28 9:47 ` [Buildroot] [PATCH 2/4] avrdude: Depend on elfutils instead of libelf to get the libel library Gregory CLEMENT
2014-08-28 10:02 ` Yann E. MORIN
2014-08-28 10:04 ` Gregory CLEMENT [this message]
2014-08-28 9:47 ` [Buildroot] [PATCH 3/4] kexec-lite: Depends on elfutils instead of libelf to get the libelf library Gregory CLEMENT
2014-08-28 10:06 ` Yann E. MORIN
2014-08-28 9:47 ` [Buildroot] [PATCH 4/4] libelf: Removes the package Gregory CLEMENT
2014-08-28 11:11 ` Thomas Petazzoni
2014-08-28 11:53 ` Gregory CLEMENT
2014-08-28 9:51 ` [Buildroot] [PATCH 0/4] Use only elfutils package to provide the libelf library Gregory CLEMENT
2014-08-28 9:53 ` Yann E. MORIN
2014-08-28 10:02 ` Gregory CLEMENT
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=53FEFEC7.5060001@free-electrons.com \
--to=gregory.clement@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