Re: [PATCH] lib/Makefile: Make union-find compilation conditional on CONFIG_CPUSETS

Christoph Hellwig
2024-10-10T09:38:15Z

On Wed, Oct 09, 2024 at 11:40:22PM +0800, Kuan-Wei Chiu wrote:
> nmi_backtrace.o win_minmax.o memcat_p.o \
> - buildid.o objpool.o union_find.o
> + buildid.o objpool.o
>
> +lib-$(CONFIG_CPUSETS) += union_find.o

The usual way would be to have a new symbol selected by
CPUSETS rather than hardcoding the user here in lib/