package/qemu: enable NUMA support if numactl is selected

This is helpful for the upcoming libvirt package.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Carlos Santos 2019-10-22 19:47:39 -03:00 committed by Thomas Petazzoni
parent 53796ade0f
commit 43372c21b7

View File

@ -104,6 +104,13 @@ else
QEMU_OPTS += --disable-nettle
endif
ifeq ($(BR2_PACKAGE_NUMACTL),y)
QEMU_OPTS += --enable-numa
QEMU_DEPENDENCIES += numactl
else
QEMU_OPTS += --disable-numa
endif
# Override CPP, as it expects to be able to call it like it'd
# call the compiler.
define QEMU_CONFIGURE_CMDS