]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/elfutils: fix dependency on C library
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 8 Aug 2015 18:58:34 +0000 (20:58 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 9 Aug 2015 09:22:08 +0000 (11:22 +0200)
As Thomas puts it:

    The comment can only be visible when a toolchain that is *not*
    uclibc and *not* glibc is used. I.e, the comment is now only visible
    when musl is used. Which is not what we want.

Indeed, I completely borked the conditions. When a glibc or uClibc
toolchain is selected, the comment is entirely hidden, and we don;t get
the extra requirements (wchar, !static).

Fix that with the solution proposed by Thomas.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/avrdude/Config.in
package/elfutils/Config.in
package/kexec-lite/Config.in
package/ltrace/Config.in
package/racehound/Config.in

index 79b26a23c960c1e3223e9830a157fc3f1c4ccb53..460f1550862d995b69a818642daefb549800fbd4 100644 (file)
@@ -16,6 +16,6 @@ config BR2_PACKAGE_AVRDUDE
          https://github.com/kcuzner/avrdude
 
 comment "avrdude needs a uclibc or (e)glibc toolchain w/ threads, wchar, dynamic library"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || BR2_STATIC_LIBS
-       depends on !BR2_TOOLCHAIN_USES_UCLIBC && !BR2_TOOLCHAIN_USES_GLIBC
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || BR2_STATIC_LIBS \
+               || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
        depends on !BR2_bfin
index 19ab8fca310c2ad592d8898d5aa48172b6b792be..ca93770bfb9d001f0ed6df1ee2b6c62c4f96da73 100644 (file)
@@ -1,7 +1,7 @@
 comment "elfutils needs a uClibc or (e)glibc toolchain w/ wchar, dynamic library"
        depends on !BR2_bfin
-       depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
-       depends on !BR2_TOOLCHAIN_USES_UCLIBC && !BR2_TOOLCHAIN_USES_GLIBC
+       depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
+               || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
 
 config BR2_PACKAGE_ELFUTILS
        bool "elfutils"
index 6242c46c984726dc3f25d3bcf9a1cf06b2ec602d..ede5cba43ce890d29ffc218af29d56a88a078d96 100644 (file)
@@ -16,5 +16,5 @@ config BR2_PACKAGE_KEXEC_LITE
 
 comment "kexec-lite needs a uClibc or (e)glibc toolchain w/ wchar, dynamic library"
        depends on BR2_powerpc || BR2_powerpc64
-       depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
-       depends on !BR2_TOOLCHAIN_USES_UCLIBC && !BR2_TOOLCHAIN_USES_GLIBC
+       depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR \
+               || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
index 5576efc5131089cafb7dd553374c4a1522dff66d..ff4d7bd3b01e702ea4e0f5fbbccabf811d1adcd8 100644 (file)
@@ -19,5 +19,5 @@ config BR2_PACKAGE_LTRACE
          http://ltrace.org
 
 comment "ltrace needs a uclibc or (e)glibc toolchain w/ wchar, dynamic library"
-       depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
-       depends on !BR2_TOOLCHAIN_USES_UCLIBC && !BR2_TOOLCHAIN_USES_GLIBC
+       depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
+               || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
index af56b0310b2dc05be7bcb568fb022d0067a4e805..b9c4f364c156db84c1c6b31f85da05511d85bbfe 100644 (file)
@@ -30,6 +30,6 @@ comment "racehound needs an Linux kernel >= 3.14 to be built"
        depends on BR2_i386 || BR2_x86_64
 
 comment "racehound needs a uClibc or (e)glibc toolchain w/ C++, wchar, dynamic library"
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || BR2_STATIC_LIBS
        depends on BR2_i386 || BR2_x86_64
-       depends on !BR2_TOOLCHAIN_USES_UCLIBC && !BR2_TOOLCHAIN_USES_GLIBC
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || BR2_STATIC_LIBS \
+               || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)