From b5381e5a7b34c148e4ea67517a0ddfd97f2b203a Mon Sep 17 00:00:00 2001 From: Bertrand Marquis Date: Thu, 7 May 2020 12:10:39 +0100 Subject: [PATCH] arm-autonomy: Fix missing xen binary in deploy image Change Xen package to be machine specific. This is solving issues encountered when building 2 projects with the same xen configuration but different machines. In that case one of the project did not have a xen binary in the deploy directory. Change-Id: I2575d91b57455ab690eec9c51e07415673242c06 Issue-Id: SCM-815 Signed-off-by: Bertrand Marquis Signed-off-by: Jon Mason --- meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend b/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend index 92348e64..846d2442 100644 --- a/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend +++ b/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend @@ -6,3 +6,9 @@ XEN_CONFIG_EARLY_PRINTK ??= "disable" EXTRA_OEMAKE += "${@bb.utils.contains('XEN_CONFIG_EARLY_PRINTK', 'disable', \ '', ' CONFIG_DEBUG=y CONFIG_EARLY_PRINTK=${XEN_CONFIG_EARLY_PRINTK}',d)}" + +# Make Xen machine specific +# This ensures that sstate is properly handled and that each machine can have +# its own configuration +PACKAGE_ARCH = "${MACHINE_ARCH}" +