Imported Upstream version 16.7.0
[platform/upstream/libzypp.git] / zypp / Arch.cc
index 16d53a8..04e1b00 100644 (file)
@@ -191,15 +191,19 @@ namespace zypp
   DEF_BUILTIN( sparc );
 
   DEF_BUILTIN( aarch64 );
-  DEF_BUILTIN( armv7tnhl );
-  DEF_BUILTIN( armv7thl );
-  DEF_BUILTIN( armv7nhl );
+
+  DEF_BUILTIN( armv7tnhl );    /* exists? */
+  DEF_BUILTIN( armv7thl );     /* exists? */
+
+  DEF_BUILTIN( armv7hnl );     /* legacy: */DEF_BUILTIN( armv7nhl );
   DEF_BUILTIN( armv7hl );
-  DEF_BUILTIN( armv7l );
   DEF_BUILTIN( armv6hl );
+
+  DEF_BUILTIN( armv7l );
   DEF_BUILTIN( armv6l );
   DEF_BUILTIN( armv5tejl );
   DEF_BUILTIN( armv5tel );
+  DEF_BUILTIN( armv5tl );
   DEF_BUILTIN( armv5l );
   DEF_BUILTIN( armv4tl );
   DEF_BUILTIN( armv4l );
@@ -336,15 +340,21 @@ namespace zypp
         defCompatibleWith( _armv4l(),          _noarch(),_armv3l() );
         defCompatibleWith( _armv4tl(),         _noarch(),_armv3l(),_armv4l() );
         defCompatibleWith( _armv5l(),          _noarch(),_armv3l(),_armv4l(),_armv4tl() );
-        defCompatibleWith( _armv5tel(),                _noarch(),_armv3l(),_armv4l(),_armv4tl(),_armv5l() );
-        defCompatibleWith( _armv5tejl(),       _noarch(),_armv3l(),_armv4l(),_armv4tl(),_armv5l(),_armv5tel() );
-        defCompatibleWith( _armv6l(),          _noarch(),_armv3l(),_armv4l(),_armv4tl(),_armv5l(),_armv5tel(),_armv5tejl() );
+        defCompatibleWith( _armv5tl(),         _noarch(),_armv3l(),_armv4l(),_armv4tl(),_armv5l() );
+        defCompatibleWith( _armv5tel(),                _noarch(),_armv3l(),_armv4l(),_armv4tl(),_armv5l(),_armv5tl() );
+        defCompatibleWith( _armv5tejl(),       _noarch(),_armv3l(),_armv4l(),_armv4tl(),_armv5l(),_armv5tl(),_armv5tel() );
+        defCompatibleWith( _armv6l(),          _noarch(),_armv3l(),_armv4l(),_armv4tl(),_armv5l(),_armv5tl(),_armv5tel(),_armv5tejl() );
+        defCompatibleWith( _armv7l(),          _noarch(),_armv3l(),_armv4l(),_armv4tl(),_armv5l(),_armv5tl(),_armv5tel(),_armv5tejl(),_armv6l() );
+
         defCompatibleWith( _armv6hl(),         _noarch() );
-        defCompatibleWith( _armv7l(),          _noarch(),_armv3l(),_armv4l(),_armv4tl(),_armv5l(),_armv5tel(),_armv5tejl(),_armv6l() );
         defCompatibleWith( _armv7hl(),         _noarch(),_armv6hl() );
-        defCompatibleWith( _armv7nhl(),                _noarch(),_armv7hl() );
-        defCompatibleWith( _armv7thl(),                _noarch(),_armv7hl() );
-        defCompatibleWith( _armv7tnhl(),       _noarch(),_armv7hl(),_armv7nhl(),_armv7thl() );
+        defCompatibleWith( _armv7hnl(),                _noarch(),_armv7hl(),_armv6hl() );
+       /*legacy: rpm uses v7hnl */
+       defCompatibleWith( _armv7nhl(),         _noarch(),_armv7hnl(),_armv7hl(),_armv6hl() );
+
+       /*?*/defCompatibleWith( _armv7thl(),    _noarch(),_armv7hl() );
+        /*?*/defCompatibleWith( _armv7tnhl(),  _noarch(),_armv7hl(),_armv7nhl(),_armv7thl() );
+
         defCompatibleWith( _aarch64(),         _noarch() );
         //
         defCompatibleWith( _sh3(),             _noarch() );