summaryrefslogtreecommitdiffstats
path: root/meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse-arch.inc
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-05-27 22:28:29 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-05-27 22:31:24 +0200
commitc1c38eaa75539f4eff86ad144427fdbb155ab251 (patch)
tree05fce07e68dde523fc363c2235f7a3e1146a423e /meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse-arch.inc
parenta22aad5cfd2c4bf5d5c0fdf81c830e78c7456848 (diff)
meta-agl-devel: remove meta-agl-jailhouse
Unused and unmaintained. Restore if you intent to maintain it. Bug-AGL: SPEC-5151 Change-Id: I9c57689b06474b74051db8d6a436309cab65c1f8 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse-arch.inc')
-rw-r--r--meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse-arch.inc22
1 files changed, 0 insertions, 22 deletions
diff --git a/meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse-arch.inc b/meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse-arch.inc
deleted file mode 100644
index 498b25ed..00000000
--- a/meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse-arch.inc
+++ /dev/null
@@ -1,22 +0,0 @@
-# Set jailhouse architecture JH_ARCH variable
-#
-# return value must match one of architectures supported by jailhouse
-#
-valid_jh_archs = "x86 arm"
-
-def map_jh_arch(a, d):
- import re
-
- valid_jh_archs = d.getVar('valid_jh_archs', True).split()
-
- if re.match('(i.86|athlon|x86.64)$', a): return 'x86'
- elif re.match('armeb$', a): return 'arm'
- elif re.match('aarch64$', a): return 'arm64'
- elif re.match('aarch64_be$', a): return 'arm64'
- elif a in valid_jh_archs: return a
- else:
- bb.error("cannot map '%s' to a jailhouse supported architecture" % a)
-
-export JH_ARCH = "${@map_jh_arch(d.getVar('TARGET_ARCH', True), d)}"
-
-COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"