mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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:
parent
d16d4acc60
commit
6aa755e493
|
@ -10,12 +10,17 @@ IMAGE_INSTALL += " \
|
||||||
kernel-module-xen-gntalloc \
|
kernel-module-xen-gntalloc \
|
||||||
kernel-module-xen-gntdev \
|
kernel-module-xen-gntdev \
|
||||||
kernel-module-xen-netback \
|
kernel-module-xen-netback \
|
||||||
${@bb.utils.contains('MACHINE_FEATURES', 'pci', 'kernel-module-xen-pciback', '', d)} \
|
|
||||||
kernel-module-xen-wdt \
|
kernel-module-xen-wdt \
|
||||||
xen-base \
|
xen-base \
|
||||||
qemu \
|
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"
|
LICENSE = "MIT"
|
||||||
|
|
||||||
inherit core-image
|
inherit core-image
|
||||||
|
|
Loading…
Reference in New Issue
Block a user