summaryrefslogtreecommitdiffstats
path: root/package/Makefile.in
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-30 10:21:40 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-30 10:21:40 +0200
commit074b6689e81d5bc4abf08d63dc8086b9cc41a078 (patch)
tree8cff99d679b7260a54cebac38af0764b16394b71 /package/Makefile.in
parent18abd4aa94cd59240b90257c95877c0ea2fd1796 (diff)
parente7584697f24d0bc6fc660703d97a38598cb76690 (diff)
downloadbuildroot-novena-074b6689e81d5bc4abf08d63dc8086b9cc41a078.tar.gz
buildroot-novena-074b6689e81d5bc4abf08d63dc8086b9cc41a078.zip
Merge branch 'fixes-20100729' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'package/Makefile.in')
-rw-r--r--package/Makefile.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index 36f2f2419..bb2aafa4c 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -93,11 +93,20 @@ LIBC=uclibc
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y)
LIBC=uclibc
else
-LIBC=
+LIBC=gnu
endif
+# The ABI suffix is a bit special on ARM, as it needs to be
+# -uclibcgnueabi for uClibc EABI, -uclibc for uClibc OABI, -gnueabi
+# for glibc EABI and -gnu for glibc OABI. This means that the LIBC and
+# ABI aren't strictly orthogonal, which explains why we need the test
+# on LIBC below.
ifeq ($(BR2_ARM_EABI),y)
+ifeq ($(LIBC),uclibc)
ABI=gnueabi
+else
+ABI=eabi
+endif
endif
REAL_GNU_TARGET_NAME=$(ARCH)-unknown-linux-$(LIBC)$(ABI)