]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
ltrace: narrow down available architectures
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 9 Jan 2014 22:32:47 +0000 (19:32 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 10 Jan 2014 23:15:07 +0000 (00:15 +0100)
First switch the architecture availability to positive logic since it's
cleaner and avoids issues when new ones are introduced.
Then look at the source for the available ones at sysdeps/linux-gnu/...

aarch64 -> NULL
arc -> NULL
arm -> hardcoded to little endian, so no armeb
avr32 -> NULL
blackfin -> NULL
microblaze -> NULL
mips -> little/big endian handled but not for 64 bits
nios2 -> NULL
ppc -> OK
sh -> NULL
sparc -> OK
x86 -> Both i386 and x86_64 handled
xtensa -> NULL

Fixes:
http://autobuild.buildroot.net/results/cd2/cd24e7b6f863ab413d76ca7a81bd357ddf1dc4f7/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ltrace/Config.in

index 943af8dad89dded3964af519091d77f51a8824be..3448342619af41920c2e11acedba361aef65e012 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LTRACE
        bool "ltrace"
-       depends on !(BR2_avr32 || BR2_sh || BR2_sh64 || BR2_xtensa || BR2_aarch64 || BR2_arc)
+       depends on (BR2_i386 || BR2_arm || BR2_mips || BR2_mipsel \
+               || BR2_powerpc || BR2_sparc || BR2_x86_64)
        select BR2_PACKAGE_LIBELF
        help
          Debugging program which runs a specified command until it exits.