Mailinglist Archive: zypp-devel (31 mails)

< Previous Next >
[zypp-devel] [Patch][RFC] armv7hl + armv7nhl support
Hi !

This is adding support for armv7hl (armv7nhl) to libzypp .

Please review.

Best,
Jan-Simon
From ea8acd61d50696227c318b8e58db00667a0e4f2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan-Simon=20M=C3=B6ller?= <jsmoeller@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 17 Jan 2011 07:10:02 -0700
Subject: [PATCH] Add armv7hl (hardfloat ABI) support. Beside armv7hl, there's
also armv7nhl als compatible subarch with additional (neon) flags.

---
zypp/Arch.cc | 4 ++++
zypp/Arch.h | 4 ++++
zypp/parser/yum/schema/common-inc.rnc | 2 ++
zypp/parser/yum/schema/common-inc.rng | 2 ++
4 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/zypp/Arch.cc b/zypp/Arch.cc
index 262b9e3..7b357bb 100644
--- a/zypp/Arch.cc
+++ b/zypp/Arch.cc
@@ -187,6 +187,8 @@ namespace zypp
DEF_BUILTIN( sparcv8 );
DEF_BUILTIN( sparc );

+ DEF_BUILTIN( armv7nhl );
+ DEF_BUILTIN( armv7hl );
DEF_BUILTIN( armv7l );
DEF_BUILTIN( armv6l );
DEF_BUILTIN( armv5tejl );
@@ -317,6 +319,8 @@ namespace zypp
defCompatibleWith( _armv5tejl,
_noarch,_armv3l,_armv4l,_armv4tl,_armv5l,_armv5tel );
defCompatibleWith( _armv6l,
_noarch,_armv3l,_armv4l,_armv4tl,_armv5l,_armv5tel,_armv5tejl );
defCompatibleWith( _armv7l,
_noarch,_armv3l,_armv4l,_armv4tl,_armv5l,_armv5tel,_armv5tejl,_armv6l );
+ defCompatibleWith( _armv7hl, _noarch );
+ defCompatibleWith( _armv7nhl, _noarch, _armv7hl );
//
defCompatibleWith( _sh3, _noarch );
//
diff --git a/zypp/Arch.h b/zypp/Arch.h
index 39ff6ed..6b18a6e 100644
--- a/zypp/Arch.h
+++ b/zypp/Arch.h
@@ -222,6 +222,10 @@ namespace zypp
extern const Arch Arch_sparc;

/** \relates Arch */
+ extern const Arch Arch_armv7nhl;
+ /** \relates Arch */
+ extern const Arch Arch_armv7hl;
+ /** \relates Arch */
extern const Arch Arch_armv7l;
/** \relates Arch */
extern const Arch Arch_armv6l;
diff --git a/zypp/parser/yum/schema/common-inc.rnc
b/zypp/parser/yum/schema/common-inc.rnc
index 7e60a2a..f12ac3b 100644
--- a/zypp/parser/yum/schema/common-inc.rnc
+++ b/zypp/parser/yum/schema/common-inc.rnc
@@ -29,6 +29,8 @@ private.archenum = "noarch"
| "armv4l"
| "armv5el"
| "armv5tel"
+ | "armv7hl"
+ | "armv7nhl"
| "armv7el"
| "armv7l"
| "athlon"
diff --git a/zypp/parser/yum/schema/common-inc.rng
b/zypp/parser/yum/schema/common-inc.rng
index 6baea52..60e5742 100644
--- a/zypp/parser/yum/schema/common-inc.rng
+++ b/zypp/parser/yum/schema/common-inc.rng
@@ -92,6 +92,8 @@
<value>armv4l</value>
<value>armv5el</value>
<value>armv5tel</value>
+ <value>armv7hl</value>
+ <value>armv7nhl</value>
<value>armv7el</value>
<value>armv7l</value>
<value>athlon</value>
--
1.7.1

< Previous Next >
This Thread
  • No further messages