debug/ltrace: fix building for mips

ltrace 0.5.3 currently fails to build for target mips because MY_TARGET
(introduced by patches/ltrace/0.5.3/150-allow-configurable-arch.patch)
is set to 'mips' via CT_ARCH, while the mips specific stuff in ltrace
(0.5.3) is stored under sysdeps/linux-gnu/mipsel:

  result: *** No rule to make target `mips/arch.h', needed by `sysdep.h'.
  Stop.

The following patch fixes this issue

Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>
[yann.morin.1998@anciens.enib.fr: reformat commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
Yann E. MORIN" 2011-01-08 18:07:02 +01:00 committed by Horst Kronstorfer"
parent 029add5ebf
commit ba27d02036

View File

@ -33,6 +33,7 @@ do_debug_ltrace_build() {
x86:32) ltrace_host="i386";;
x86:64) ltrace_host="x86_64";;
powerpc:*) ltrace_host="ppc";;
mips:*) ltrace_host="mipsel";;
*) ltrace_host="${CT_ARCH}";;
esac
CC="${CT_TARGET}-${CT_CC}" \