[meta-arm,5/9] arm-autonomy/xen,xen-tools: Remove sdl from PACKAGECONFIG for arm-autonomy-host

Submitted by Diego Sueiro on Sept. 3, 2020, 11:40 a.m. | Patch ID: 176007

Details

Message ID ba4ab6efbb84510a1555e0a65f3b45e016bb55a1.1599133172.git.diego.sueiro@arm.com
State New
Headers show

Commit Message

Diego Sueiro Sept. 3, 2020, 11:40 a.m.
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 <diego.sueiro@arm.com>
---
 meta-arm-autonomy/recipes-extended/xen/xen-tools_%.bbappend | 5 +++++
 meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend       | 4 ++++
 2 files changed, 9 insertions(+)

Patch hide | download patch | download mbox

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)}"