package/rt-tests: make numactl an optional dependency
authorAndreas Klinger <ak@it-klinger.de>
Sun, 27 Dec 2020 21:28:33 +0000 (22:28 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 28 Dec 2020 21:37:29 +0000 (22:37 +0100)
commit7e90744e6902cde8f22d495ca21f6449b644a5d2
tree98bd12447369c9aa9647db0e9ac86de3ded6a74a
parentcd92203147f5695423e8b82044f7b915c3b1e423
package/rt-tests: make numactl an optional dependency

Currently, rt-tests don't show up in menuconfig and cannot be built if
BR2_PACKAGE_NUMACTL_ARCH_SUPPORTS is not available for the target
architecture. In such a case numactl is also not available what
applies for most small embedded targets.

This dependency was introduced with commit 7f50cbfb800e
("package/rt-tests: bump to version 1.8")

But rt-tests can also be build without numactl when passing NUMA=0 to make.
This possibility is documented on
https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/rt-tests

So this commit changes rt-tests to handle numactl as an optional
dependency.

Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/rt-tests/Config.in
package/rt-tests/rt-tests.mk