libvirt: Remove numactl from PACKAGECONFIG for arm

b5b5def ("libvirt: add hook support") introduces a wrong check against KARCH
which is not defined.

This patch use TARGET_ARCH overrides to remove numactl from PACKAGECONFIG for
32-bit arm arches.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
He Zhe 2019-07-30 14:52:22 +08:00 committed by Bruce Ashfield
parent 4f870fa755
commit fc129dccd3

View File

@ -192,13 +192,16 @@ PACKAGECONFIG ??= "qemu yajl openvz vmware vbox esx iproute2 lxc test \
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'libxl', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'libxl', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'polkit', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'polkit', '', d)} \
${@bb.utils.contains('KARCH', 'arm', '', 'numactl', d)} \
" "
# qemu is NOT compatible with mips64 # qemu is NOT compatible with mips64
PACKAGECONFIG_remove_mipsarchn32 = "qemu" PACKAGECONFIG_remove_mipsarchn32 = "qemu"
PACKAGECONFIG_remove_mipsarchn64 = "qemu" PACKAGECONFIG_remove_mipsarchn64 = "qemu"
# numactl is NOT compatible with arm
PACKAGECONFIG_remove_arm = "numactl"
PACKAGECONFIG_remove_armeb = "numactl"
# enable,disable,depends,rdepends # enable,disable,depends,rdepends
# #
PACKAGECONFIG[gnutls] = ",,,gnutls-bin" PACKAGECONFIG[gnutls] = ",,,gnutls-bin"