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

This makes it easier to add further targets with their own defconfigs.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
---
 recipes-kernel/linux/files/{x86_64_defconfig => qemuamd64_defconfig} | 0
 recipes-kernel/linux/linux-jailhouse.bb                              | 4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename recipes-kernel/linux/files/{x86_64_defconfig => qemuamd64_defconfig} 
(100%)

diff --git a/recipes-kernel/linux/files/x86_64_defconfig 
b/recipes-kernel/linux/files/qemuamd64_defconfig
similarity index 100%
rename from recipes-kernel/linux/files/x86_64_defconfig
rename to recipes-kernel/linux/files/qemuamd64_defconfig
diff --git a/recipes-kernel/linux/linux-jailhouse.bb 
b/recipes-kernel/linux/linux-jailhouse.bb
index b074bf2..b6069dd 100644
--- a/recipes-kernel/linux/linux-jailhouse.bb
+++ b/recipes-kernel/linux/linux-jailhouse.bb
@@ -13,13 +13,13 @@ require recipes-kernel/linux/linux-custom.inc
 
 SRC_URI += " \
     https://github.com/siemens/linux/archive/${SRCREV}.tar.gz \
-    file://x86_64_defconfig"
+    file://${MACHINE}_defconfig"
 SRC_URI[sha256sum] = 
"38a98baa8cbdeb6b06554e5ea724ee8d08bfd32645f6b1d2d4af41f7ada6ea70"
 SRCREV = "c2cb6bc17681b44eeeb66ca40bd8051053105317"
 PV = "4.14.32"
 
 S = "linux-${SRCREV}"
 
-KERNEL_DEFCONFIG_qemuamd64 = "x86_64_defconfig"
+KERNEL_DEFCONFIG = "${MACHINE}_defconfig"
 
 KBUILD_DEPENDS += "liblz4-tool"
-- 
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