From patchwork Thu Sep 3 11:40:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-arm, 5/9] arm-autonomy/xen, xen-tools: Remove sdl from PACKAGECONFIG for arm-autonomy-host From: Diego Sueiro X-Patchwork-Id: 176007 Message-Id: To: meta-arm@lists.yoctoproject.org Cc: nd@arm.com Date: Thu, 3 Sep 2020 12:40:26 +0100 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 --- 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 ef8eddd..45739ff 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 c7f3643..9403389 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)}"