diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-07-30 10:21:40 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-07-30 10:21:40 +0200 |
commit | 074b6689e81d5bc4abf08d63dc8086b9cc41a078 (patch) | |
tree | 8cff99d679b7260a54cebac38af0764b16394b71 /package/Makefile.in | |
parent | 18abd4aa94cd59240b90257c95877c0ea2fd1796 (diff) | |
parent | e7584697f24d0bc6fc660703d97a38598cb76690 (diff) | |
download | buildroot-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.in | 11 |
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) |