aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/add-knob-for-numa.patch
blob: 064f00ae3dbc0104d009ebb3a55e555a0066c824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[PATCH] add knob to control whether numa support should be checked

Upstream-Status: Pending

otherwise the random dependency will be generated

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
---
 configure.ac                                       |   10 +-
diff --git a/configure.ac b/configure.ac
index 9f397e7..1357256 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,6 +142,12 @@ else
     AC_SUBST([WITH_REALTIME_TESTSUITE],["no"])
 fi
 
+AC_ARG_WITH([numa],
+  AC_HELP_STRING([--without-numa],
+    [without the numa support]),
+  [],[with_numa=yes],
+)
+
 AC_CONFIG_SUBDIRS([utils/ffsb-6.0-rc2])
 
 # END testsuites knobs
@@ -159,7 +165,9 @@ LTP_CHECK_SIGNAL
 LTP_CHECK_SYSCALL_EVENTFD
 LTP_CHECK_SYSCALL_KEYCTL
 LTP_CHECK_SYSCALL_MODIFY_LDT
+if test "x$with_numa" = xyes; then
 LTP_CHECK_SYSCALL_NUMA
+fi
 LTP_CHECK_SYSCALL_QUOTACTL
 LTP_CHECK_SYSCALL_SIGNALFD
 LTP_CHECK_SYSCALL_UNSHARE
-- 
1.9.1