>From a723cade56920242acf518a138cc256c8b321798 Mon Sep 17 00:00:00 2001
From: Yi Yang <yi.y.yang(a)intel.com>
Date: Tue, 4 Jan 2011 11:24:25 +0800
Subject: [PATCH] Add arm to builtin architectures
---
swig/Arch.i | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/swig/Arch.i b/swig/Arch.i
index f0746e9..539b257 100644
--- a/swig/Arch.i
+++ b/swig/Arch.i
@@ -84,6 +84,38 @@ class Arch {
* builtin: s390s (zSeries 64 bit)
*/
static Arch s390x() { return zypp::Arch_s390x; }
+ /*
+ * builtin: armv7l
+ */
+ static Arch armv7l() { return zypp::Arch_armv7l; }
+ /*
+ * builtin: armv6l
+ */
+ static Arch armv6l() { return zypp::Arch_armv6l; }
+ /*
+ * builtin: armv5tejl
+ */
+ static Arch armv5tejl() { return zypp::Arch_armv5tejl; }
+ /*
+ * builtin: armv5tel
+ */
+ static Arch armv5tel() { return zypp::Arch_armv5tel; }
+ /*
+ * builtin: armv5l
+ */
+ static Arch armv5l() { return zypp::Arch_armv5l; }
+ /*
+ * builtin: armv4tl
+ */
+ static Arch armv4tl() { return zypp::Arch_armv4tl; }
+ /*
+ * builtin: armv4l
+ */
+ static Arch armv4l() { return zypp::Arch_armv4l; }
+ /*
+ * builtin: armv3l
+ */
+ static Arch armv3l() { return zypp::Arch_armv3l; }
#if 0 /* defined(SWIGRUBY) */
%typemap(out) int is_builtin
--
1.6.0.6
--
To unsubscribe, e-mail: zypp-devel+unsubscribe(a)opensuse.org
For additional commands, e-mail: zypp-devel+help(a)opensuse.org