Mailinglist Archive: opensuse-buildservice (252 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH] [build] Map Debian ARM arches to OBS
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Tue, 27 Mar 2012 22:32:55 +0200
  • Message-id: <5114878.cml0mbCx5m@scherben>
Am Dienstag, 27. März 2012, 20:55:41 schrieb Hector Oron:
Debian ARM arches:
- Debian 'armel', which defaults to ARMv4t (soft) maps to armv[4567]l
- Debian 'armhf', which defaults to ARMv7 (hard-float) maps to armv7hl

Note Ubuntu 'armel' deprecated after 'precise' release, defaults to ARMv7
(softfp). So Ubuntu 'armel' should really map armv7l, but its out of scope
for this patch.

Hm, doesnt it make sense to map armv7l and armv7hl to armhf ? AFAIK there are no
arm cpus on v7 level without hardware fp.

On the other hand this is about optimization level here and not hardware

Signed-off-by: Hector Oron <hector.oron@xxxxxxxxxxxxxxx>
Build/ | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Build/ b/Build/
index b6c7cc6..3878fd4 100644
--- a/Build/
+++ b/Build/
@@ -26,6 +26,8 @@ sub parse {
$arch = 'i386' if $arch =~ /^i[456]86$/;
$arch = 'powerpc' if $arch eq 'ppc';
$arch = 'amd64' if $arch eq 'x86_64';
+ $arch = 'armel' if $arch =~ /^armv[4567]l$/;
+ $arch = 'armhf' if $arch eq 'armv7hl';

if (ref($fn) eq 'ARRAY') {
@control = @$fn;

Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups