[Buildroot] [git commit master] Fix the computation of REAL_GNU_TARGET_NAME

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu May 6 21:27:58 UTC 2010


commit: http://git.buildroot.net/buildroot/commit/?id=5e1fbd2c33452bd7480583ccc5cfc50546ac010d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at gmail.com>.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/Makefile.in b/package/Makefile.in
index eab9168..cd492f1 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -104,7 +104,7 @@ LIBC=uclibc
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y)
 LIBC=uclibc
 else
-LIBC=glibc
+LIBC=
 endif
 
 ifeq ($(BR2_ARM_EABI),y)
-- 
1.6.3.3




More information about the buildroot mailing list