summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2018-02-07 21:04:48 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-02-08 23:12:23 +0100
commit6ba44a70df115b643475e0085e6ad52d18eeb3ea (patch)
treea57c0983eb71485891da13ba2e76866c857dcfb8
parentaec658f5d684be9e1b7801af5898b503c1a465fd (diff)
downloadbuildroot-6ba44a70df115b643475e0085e6ad52d18eeb3ea.tar.gz
buildroot-6ba44a70df115b643475e0085e6ad52d18eeb3ea.zip
ltp-testsuite: add numactl as optional dependency
Make the detection of libnuma in the configure script consistent when the numactl package is enabled. ltp-testsuite does not currently take explicit enable/disable for libnuma, so none are used. The next ltp-testsuite version will add these options. Cc: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/ltp-testsuite/ltp-testsuite.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk
index 5e0b35d12a..c47f587836 100644
--- a/package/ltp-testsuite/ltp-testsuite.mk
+++ b/package/ltp-testsuite/ltp-testsuite.mk
@@ -40,6 +40,13 @@ else
LTP_TESTSUITE_CONF_ENV += ac_cv_lib_cap_cap_compare=no
endif
+# No explicit enable/disable options
+ifeq ($(BR2_PACKAGE_NUMACTL),y)
+LTP_TESTSUITE_DEPENDENCIES += numactl
+else
+LTP_TESTSUITE_CONF_ENV += have_numa_headers=no
+endif
+
# ltp-testsuite uses <fts.h>, which isn't compatible with largefile
# support.
LTP_TESTSUITE_CFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS))
OpenPOWER on IntegriCloud