mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
xen-guest-image-minimal: fix making PCI a x86-only dependency
The logic for restricting the xen-pciback kernel module to x86-only images was incorrect, resulting in the IMAGE_INSTALL_x86 and _x86-64 variables causing the IMAGE_INSTALL variable contents to be overridden and incomplete. This correction removes the specialized IMAGE_INSTALL_x86 and _x84-64 variables. The replacement logic causes a value with conditionally-populated contents to be added to the IMAGE_INSTALL variable. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
44e74c9aa7
commit
f0e708ea8c
|
@ -10,16 +10,16 @@ IMAGE_INSTALL += " \
|
|||
kernel-module-xen-gntalloc \
|
||||
kernel-module-xen-gntdev \
|
||||
kernel-module-xen-netback \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'pci', "${XEN_PCIBACK_MODULE}", '', 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)}"
|
||||
XEN_PCIBACK_MODULE = ""
|
||||
XEN_PCIBACK_MODULE_x86 = "kernel-module-xen-pciback"
|
||||
XEN_PCIBACK_MODULE_x86-64 = "kernel-module-xen-pciback"
|
||||
|
||||
LICENSE = "MIT"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user