[Buildroot] [PATCH 1/3] package/lttng-libust: bump version to 2.11.0

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Oct 22 19:59:05 UTC 2019


On Tue, 22 Oct 2019 10:48:03 -0400
Philippe Proulx <eeppeliteloop at gmail.com> wrote:

> +ifneq ($(BR2_PACKAGE_NUMACTL),y)
> +LTTNG_LIBUST_CONF_OPTS += --disable-numa
> +endif

This is not good: what happens when numactl is enabled ?

So, I changed this to:

ifeq ($(BR2_PACKAGE_NUMACTL),y)
LTTNG_LIBUST_DEPENDENCIES += numactl
LTTNG_LIBUST_CONF_OPTS += --enable-numa
else
LTTNG_LIBUST_CONF_OPTS += --disable-numa
endif

which is the typical way to handle optional dependencies.

I've applied after fixing this. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list