Fix the computation of REAL_GNU_TARGET_NAME
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 6 May 2010 18:44:21 +0000 (20:44 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 6 May 2010 21:08:37 +0000 (23:08 +0200)
commit5e1fbd2c33452bd7480583ccc5cfc50546ac010d
tree436abc09206e9d32968be6098dbb126318ac1662
parenta5fe7371b28ed52a019dc424821f199d0f86b969
Fix the computation of REAL_GNU_TARGET_NAME

When the selected C library is glibc, the C library shouldn't be
mentionned in REAL_GNU_TARGET_NAME. In other words:

 arm-unknown-linux-uclibcgnueabi must be used for uClibc
 arm-unknown-linux-gnueabi must be used for glibc

This fixes the build of GDB on the target, as reported by Quotient
Remainder <quotientvremainder@gmail.com>.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Makefile.in