[busybox/f14] compile uClibc as EABI and little endian on ARM

Peter Robinson pbrobinson at fedoraproject.org
Mon Jun 13 18:02:25 UTC 2011


commit f310f0f43c59d5b2679e0ccb4cfa54513d688649
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Mon Jun 13 19:02:12 2011 +0100

    compile uClibc as EABI and little endian on ARM

 busybox.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/busybox.spec b/busybox.spec
index 60d8a6e..185942d 100644
--- a/busybox.spec
+++ b/busybox.spec
@@ -72,6 +72,12 @@ cp -a /usr/include/linux kernel-include
 arch=`uname -m | sed -e 's/i.86/i386/' -e 's/ppc/powerpc/' -e 's/armv7l/arm/' -e 's/armv5tel/arm/' -e 's/ppc64//' -e 's/powerpc64//' -e 's/ia64//' -e 's/s390.*//'`
 echo "TARGET_$arch=y" >.config
 echo "TARGET_ARCH=\"$arch\"" >>.config
+%ifarch %{arm}
+  echo "CONFIG_ARM_EABI=y" >>.config
+  echo "ARCH_ANY_ENDIAN=n" >>.config
+  echo "ARCH_LITTLE_ENDIAN=y" >>.config
+  echo "ARCH_WANTS_LITTLE_ENDIAN=y" >>.config
+%endif
 cat .config1 >>.config
 if test "$arch"; then yes "" | make oldconfig; fi
 if test "$arch"; then cat .config; fi


More information about the scm-commits mailing list