From a41e7a4893c1552d7452570ddca1f1994af7a46c Mon Sep 17 00:00:00 2001 From: Diego Sueiro Date: Thu, 3 Sep 2020 12:40:26 +0100 Subject: [PATCH] arm-autonomy/xen,xen-tools: Remove sdl from PACKAGECONFIG for arm-autonomy-host For arm-autonomy-host DISTRO_FEATURES we don't need xen and xen-tools configured with sdl support. Change-Id: Id7391b722ab37b8970aa4b72d4d34221fb566618 Issue-Id: SCM-889 Signed-off-by: Diego Sueiro Signed-off-by: Jon Mason --- meta-arm-autonomy/recipes-extended/xen/xen-tools_%.bbappend | 5 +++++ meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/meta-arm-autonomy/recipes-extended/xen/xen-tools_%.bbappend b/meta-arm-autonomy/recipes-extended/xen/xen-tools_%.bbappend index ef8eddd1..45739ffb 100644 --- a/meta-arm-autonomy/recipes-extended/xen/xen-tools_%.bbappend +++ b/meta-arm-autonomy/recipes-extended/xen/xen-tools_%.bbappend @@ -3,3 +3,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI += "file://0001-vif-nat-fix-hostname.patch \ file://0002-vif-nat-fix-symlink-removal.patch \ " + +PACKAGECONFIG_remove = "\ + ${@bb.utils.contains('DISTRO_FEATURES', \ + 'arm-autonomy-host', \ + 'sdl', '', d)}" diff --git a/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend b/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend index c7f3643c..9403389f 100644 --- a/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend +++ b/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend @@ -3,3 +3,7 @@ # its own configuration PACKAGE_ARCH = "${MACHINE_ARCH}" +PACKAGECONFIG_remove = "\ + ${@bb.utils.contains('DISTRO_FEATURES', \ + 'arm-autonomy-host', \ + 'sdl', '', d)}"