Import 80d60e7 from yoctoproject.org meta-arm
To support ARMv8 SoCs.
meta-arm has several patch files. Since they are maintained by the
upstream meta-arm community, add meta-arm to the ignore list in
run-repotest.
Change-Id: Ia87a2e947bbabd347d256eccc47a343e1c885479
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-arm/ci/listmachines.py b/meta-arm/ci/listmachines.py
new file mode 100755
index 0000000..04d207e
--- /dev/null
+++ b/meta-arm/ci/listmachines.py
@@ -0,0 +1,29 @@
+#! /usr/bin/env python3
+
+import pathlib
+import typing
+import sys
+
+"""
+List all of the machines available under the listed sub-layers of meta-arm.
+"""
+def list_machines(layers: typing.Sequence[str]) -> typing.Set[str]:
+ machines = set()
+
+ # We know we're in meta-arm/scripts, so find the top-level directory
+ metaarm = pathlib.Path(__file__).resolve().parent.parent
+ if metaarm.name != "meta-arm":
+ raise Exception("Not running inside meta-arm")
+
+ for layer in layers:
+ machines |= set(p.stem for p in (metaarm / layer / "conf" / "machine").glob("*.conf"))
+ return machines
+
+if __name__ == "__main__":
+ if len(sys.argv) > 1:
+ machines = list_machines(sys.argv[1:])
+ print(" ".join(sorted(machines)))
+ sys.exit(0)
+ else:
+ print("Usage:\n$ %s [layer name ...] " % sys.argv[0])
+ sys.exit(1)