From: Jan Kiszka <jan.kis...@siemens.com>

Empty for amd64, but we will need it for other targets.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
---
 recipes-jailhouse/jailhouse/files/qemuamd64_config.h | 1 +
 recipes-jailhouse/jailhouse/jailhouse.inc            | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 recipes-jailhouse/jailhouse/files/qemuamd64_config.h

diff --git a/recipes-jailhouse/jailhouse/files/qemuamd64_config.h 
b/recipes-jailhouse/jailhouse/files/qemuamd64_config.h
new file mode 100644
index 0000000..40a8c17
--- /dev/null
+++ b/recipes-jailhouse/jailhouse/files/qemuamd64_config.h
@@ -0,0 +1 @@
+/* empty */
diff --git a/recipes-jailhouse/jailhouse/jailhouse.inc 
b/recipes-jailhouse/jailhouse/jailhouse.inc
index 757c298..a5628af 100644
--- a/recipes-jailhouse/jailhouse/jailhouse.inc
+++ b/recipes-jailhouse/jailhouse/jailhouse.inc
@@ -15,7 +15,8 @@ LICENSE = "GPL-2.0 & BSD-2-clause"
 
 SRC_URI = " \
     git://github.com/siemens/jailhouse;branch=next \
-    file://debian/"
+    file://debian/ \
+    file://${MACHINE}_config.h"
 
 S = "git"
 
@@ -25,6 +26,7 @@ DEPENDS = "linux-image-${KERNEL_NAME}"
 
 dpkg_runbuild_prepend() {
     cp -r ${WORKDIR}/debian ${WORKDIR}/${S}/
+    cp ${WORKDIR}/${MACHINE}_config.h 
${WORKDIR}/${S}/include/jailhouse/config.h
     sed -i 's/@PV@/${PV}/' ${WORKDIR}/${S}/debian/changelog
     sed -i 's/@KERNEL_NAME@/${KERNEL_NAME}/' ${WORKDIR}/${S}/debian/control
 }
-- 
2.13.6

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to