From: Carlos Santos Date: Tue, 22 Oct 2019 22:47:39 +0000 (-0300) Subject: package/qemu: enable NUMA support if numactl is selected X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43372c21b7f03c2d94f3244e41aa7f6f56036030;p=buildroot.git package/qemu: enable NUMA support if numactl is selected This is helpful for the upcoming libvirt package. Signed-off-by: Carlos Santos Signed-off-by: Thomas Petazzoni --- diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 5f97dab39f..3c8b0f43d8 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -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