[Buildroot] [git commit] package/libvirt: fix dependencies on kernel headers
From: Yann E. MORIN <hidden>
Date: 2021-08-19 21:39:16
Subsystem:
the rest · Maintainer:
Linus Torvalds
commit: https://git.buildroot.net/buildroot/commit/?id=d1fc0690addd850674e77dc3e96a0cfa6b0ef19b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master In ccfc90e1010e (package/libvirt: new package), last-minute changes missed the depenecny on kernel headers; headers >= 3.12 are required for all architectures, but AArch64, which requires 4.11 for HWCAP_CPUID: ../src/cpu/cpu_arm.c: In function 'virCPUarmCpuDataFromRegs': ../src/cpu/cpu_arm.c:562:20: error: 'HWCAP_CPUID' undeclared (first use in this function); did you mean 'HWCAP_PMULL'? if (!(hwcaps & HWCAP_CPUID)) { ^~~~~~~~~~~ HWCAP_PMULL Fixes: - http://autobuild.buildroot.org/results/85bf7b4dad73a748bf439e63874eb64d9a53088f Signed-off-by: Fabrice Fontaine <redacted> [yann.morin.1998@free.fr: - move AArch64 4.11 req. from _ARCH_SUPPORTS to BR2_PACKAGE_LIBVIRT - add missing dependency on headers 3.12 for the rest ] Signed-off-by: Yann E. MORIN <redacted> --- package/libvirt/Config.in | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/package/libvirt/Config.in b/package/libvirt/Config.in
index 2f191882cc..ee042e3cd8 100644
--- a/package/libvirt/Config.in
+++ b/package/libvirt/Config.in@@ -14,6 +14,8 @@ comment "libvirt needs udev /dev management, a toolchain w/ threads, dynamic lib config BR2_PACKAGE_LIBVIRT bool "libvirt" depends on BR2_PACKAGE_LIBVIRT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 || !BR2_aarch64 depends on BR2_PACKAGE_HAS_UDEV depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR
_______________________________________________ buildroot mailing list buildroot@busybox.net http://lists.busybox.net/mailman/listinfo/buildroot