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