Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH V3 2/4] avrdude: Depend on elfutils instead of libelf to get the libelf library
Date: Wed, 10 Sep 2014 22:18:59 +0200	[thread overview]
Message-ID: <20140910201859.GG23947@free.fr> (raw)
In-Reply-To: <1409228494-19492-3-git-send-email-gregory.clement@free-electrons.com>

Gregory, All,

On 2014-08-28 14:21 +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>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/avrdude/Config.in  | 6 +++++-
>  package/avrdude/avrdude.mk | 2 +-
>  2 files changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/package/avrdude/Config.in b/package/avrdude/Config.in
> index 8eac014..9a9b3fb 100644
> --- a/package/avrdude/Config.in
> +++ b/package/avrdude/Config.in
> @@ -1,10 +1,14 @@
>  config BR2_PACKAGE_AVRDUDE
>  	bool "avrdude"
> -	select BR2_PACKAGE_LIBELF
> +	select BR2_PACKAGE_ELFUTILS
>  	select BR2_PACKAGE_LIBUSB
>  	select BR2_PACKAGE_LIBUSB_COMPAT
>  	select BR2_PACKAGE_NCURSES
>  	depends on BR2_TOOLCHAIN_HAS_THREADS
> +	depends on BR2_LARGEFILE # elfutils
> +	depends on BR2_USE_WCHAR # elfutils
> +	depends on !BR2_avr32 # elfutils

At first, I was very surprised that an AVR-related package would be
unavaivlable for avr32. But that's not incoherent, in fact: this can be
used on the target to program an AVR (not avr32!) device.

That it does not work on avr32 is a pity, though... :-(

Anyway, acked.

Regards,
Yann E. MORIN.

> +	depends on !BR2_bfin # elfutils
>  	help
>  	  avrdude is a programmer for Atmel AVR microcontrollers
>  	  this package provides a version with new linuxspi driver
> 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

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2014-09-10 20:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-28 12:21 [Buildroot] [PATCH V3 0/4] Use only elfutils package to provide the libelf library Gregory CLEMENT
2014-08-28 12:21 ` [Buildroot] [PATCH V3 1/4] ltrace: Removes the libelf dependency Gregory CLEMENT
2014-09-10 20:14   ` Yann E. MORIN
2014-09-13 21:58   ` Peter Korsgaard
2014-08-28 12:21 ` [Buildroot] [PATCH V3 2/4] avrdude: Depend on elfutils instead of libelf to get the libelf library Gregory CLEMENT
2014-09-10 20:18   ` Yann E. MORIN [this message]
2014-09-13 22:01   ` Peter Korsgaard
2014-08-28 12:21 ` [Buildroot] [PATCH V3 3/4] kexec-lite: Depends " Gregory CLEMENT
2014-09-10 22:12   ` Yann E. MORIN
2014-09-13 22:08   ` Peter Korsgaard
2014-08-28 12:21 ` [Buildroot] [PATCH V3 4/4] libelf: Removes the package Gregory CLEMENT
2014-09-13 21:01   ` Yann E. MORIN
2014-09-13 22:09   ` Peter Korsgaard
2014-08-28 14:14 ` [Buildroot] [PATCH V3 0/4] Use only elfutils package to provide the libelf library Thomas Petazzoni

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=20140910201859.GG23947@free.fr \
    --to=yann.morin.1998@free.fr \
    --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