xen-image-minimal: Make kernel-module-xen-pciback a x86-only dependency

This commit fixes the xen-image-minimal build for non-x86 arch with PCI enabled.

The Linux kernel option CONFIG_XEN_PCIDEV_BACKEND currently depends on X86.
This means that the xen-pciback kernel module cannot be included in this image
for non-x86 architecture builds, so don't attempt to install it in that case.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Christopher Clark 2017-09-17 18:22:53 -07:00 committed by Bruce Ashfield
parent d16d4acc60
commit 6aa755e493

View File

@ -10,12 +10,17 @@ IMAGE_INSTALL += " \
kernel-module-xen-gntalloc \
kernel-module-xen-gntdev \
kernel-module-xen-netback \
${@bb.utils.contains('MACHINE_FEATURES', 'pci', 'kernel-module-xen-pciback', '', d)} \
kernel-module-xen-wdt \
xen-base \
qemu \
"
# Linux kernel option CONFIG_XEN_PCIDEV_BACKEND depends on X86
IMAGE_INSTALL_x86 += " \
${@bb.utils.contains('MACHINE_FEATURES', 'pci', 'kernel-module-xen-pciback', '', d)}"
IMAGE_INSTALL_x86-64 += " \
${@bb.utils.contains('MACHINE_FEATURES', 'pci', 'kernel-module-xen-pciback', '', d)}"
LICENSE = "MIT"
inherit core-image