[busybox/f13] Add support for ARM

Peter Robinson pbrobinson at fedoraproject.org
Sat Jun 11 17:47:42 UTC 2011


commit 9c500ec3b6b67c7853bf957ce970277e103539ba
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Sat Jun 11 18:47:24 2011 +0100

    Add support for ARM

 busybox.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/busybox.spec b/busybox.spec
index 1552e47..7ddd2b5 100644
--- a/busybox.spec
+++ b/busybox.spec
@@ -1,7 +1,7 @@
 Summary: Statically linked binary providing simplified versions of system commands
 Name: busybox
 Version: 1.15.1
-Release: 7%{?dist}
+Release: 8%{?dist}
 Epoch: 1
 License: GPLv2
 Group: System Environment/Shells
@@ -67,7 +67,7 @@ cp -a /usr/include/asm kernel-include
 cp -a /usr/include/asm-generic kernel-include
 cp -a /usr/include/linux kernel-include
 # uclibc can't be built on ppc64,s390,ia64, we set $arch to "" in this case
-arch=`uname -m | sed -e 's/i.86/i386/' -e 's/ppc/powerpc/' -e 's/ppc64//' -e 's/powerpc64//' -e 's/ia64//' -e 's/s390.*//'`
+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
 cat .config1 >>.config
@@ -133,6 +133,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/busybox.petitboot.1.gz
 
 %changelog
+* Sat Jun 11 2011 Peter Robinson <pbrobinson at gmail.com> - 1:1.15.1-8
+- Add support for ARM
+
 * Wed May  5 2010 Denys Vlasenko <dvlasenk at redhat.com> - 1:1.15.1-7
 - teach uclibc to use /etc/localtime
 


More information about the scm-commits mailing list