summaryrefslogtreecommitdiffstats
path: root/meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse_git.bb
diff options
context:
space:
mode:
authorParth Dode <dodecoder@gmail.com>2020-08-28 20:10:18 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-08-31 13:54:27 +0000
commitf7b7ad44c4a77f86fa4e3adf1ae23c712f6121d4 (patch)
tree0bca0a905877d8d2fd9060e53a2e7c8704481b12 /meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse_git.bb
parent7e79247a82a7a04c4915c086f54612cfe67f0b67 (diff)
meta-agl-jailhouse: Added inmates for jailhouse on agl
w.r.t. the root cell qemu-agl updated jailhouse_git.bb accordingly Bug-AGL: SPEC-3507 Change-Id: I0548d9bbec02d8506205b0dccb4ef591b290bca6 Change-Id: I6d065032ef7fff40535929219ce067aab260f043 Signed-off-by: Parth Dode <dodecoder@gmail.com>
Diffstat (limited to 'meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse_git.bb')
-rw-r--r--meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse_git.bb13
1 files changed, 12 insertions, 1 deletions
diff --git a/meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse_git.bb b/meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse_git.bb
index cb7e48c0..462f0a77 100644
--- a/meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse_git.bb
+++ b/meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse_git.bb
@@ -19,6 +19,13 @@ SRC_URI = "git://github.com/siemens/jailhouse \
file://0001-configs-arm64-Add-support-for-RPi4-with-more-than-1G.patch \
"
+SRC_URI += "file://qemu-agl.c \
+ file://agl-apic-demo.c \
+ file://agl-pci-demo.c \
+ file://agl-ivshmem-demo.c \
+ file://agl-linux-x86-demo.c \
+ "
+
DEPENDS = "virtual/kernel dtc-native python3-mako-native make-native"
require jailhouse-arch.inc
@@ -41,7 +48,11 @@ do_configure() {
# copy ${WORKDIR}/qemu-agl.c ${S}/configs/x86/ <--- folder where the cells are defined in the source tree to be compiled
cp ${WORKDIR}/qemu-agl.c ${S}/configs/${JH_ARCH}
-
+ cp ${WORKDIR}/agl-apic-demo.c ${S}/configs/x86/
+ cp ${WORKDIR}/agl-pci-demo.c ${S}/configs/x86/
+ cp ${WORKDIR}/agl-linux-x86-demo.c ${S}/configs/x86/
+ cp ${WORKDIR}/agl-ivshmem-demo.c ${S}/configs/x86/
+
sed -i '1s|^#!/usr/bin/env python$|#!/usr/bin/env python3|' ${B}/tools/${BPN}-*
}