]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
avrdude: Depend on elfutils instead of libelf to get the libelf library
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 28 Aug 2014 12:21:32 +0000 (14:21 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 13 Sep 2014 22:00:59 +0000 (00:00 +0200)
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.

[Peter: adjust toolchain options comment to match]
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/avrdude/Config.in
package/avrdude/avrdude.mk

index 8eac014a3756fce9aac3683c8bf1dfd01dd2f7c2..7d9f5eb7436764032b119bc65901553fc39fa845 100644 (file)
@@ -1,15 +1,21 @@
 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
+       depends on !BR2_bfin # elfutils
        help
          avrdude is a programmer for Atmel AVR microcontrollers
          this package provides a version with new linuxspi driver
 
          https://github.com/kcuzner/avrdude
 
-comment "avrdude needs a toolchain w/ threads"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "avrdude needs a toolchain w/ threads, largefile, wchar"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || !BR2_USE_WCHAR
+       depends on !BR2_avr32
+       depends on !BR2_bfin
index 7876c1d6c7a4533c1b99e40348afcad6b8593173..03d6490de91e55de8919a38faabc11fe59676c5e 100644 (file)
@@ -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