xen-image-minimal: Make kernel-module-xen-pciback a x86-only dependency
PATCH 1/1 xen-image-minimal: Make kernel-module-xen-pciback a x86-only dependency
From: Christopher Clark <[email protected]>
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 <[email protected]>
---
Please use my gmail address for any correspondence.
recipes-extended/images/xen-image-minimal.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-extended/images/xen-image-minimal.bb +6 -1
@@ -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
Signature · 1 line
2.7.4