diff options
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/add-knob-for-tirpc.patch')
-rw-r--r-- | meta/recipes-extended/ltp/ltp/add-knob-for-tirpc.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp/add-knob-for-tirpc.patch b/meta/recipes-extended/ltp/ltp/add-knob-for-tirpc.patch new file mode 100644 index 0000000000..36ff4c775d --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/add-knob-for-tirpc.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | [PATCH] add knob to control whether tirpc support should be checked | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | tirpc support is broken upstream. in the meantime, allow to disable tirpc. | ||
6 | |||
7 | Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> | ||
8 | --- | ||
9 | configure.ac | 9 +++++++++ | ||
10 | 1 file changed, 9 insertions(+) | ||
11 | |||
12 | --- a/configure.ac | ||
13 | +++ b/configure.ac | ||
14 | @@ -98,6 +98,13 @@ if test "x$with_python" = xyes; then | ||
15 | else | ||
16 | AC_SUBST([WITH_PYTHON],["no"]) | ||
17 | fi | ||
18 | + | ||
19 | +# TI RPC | ||
20 | +AC_ARG_WITH([tirpc], | ||
21 | + AC_HELP_STRING([--without-tirpc], | ||
22 | + [without libtirpc support]), | ||
23 | + [],[with_tirpc=yes], | ||
24 | +) | ||
25 | # END tools knobs | ||
26 | |||
27 | # Testsuites knobs | ||
28 | @@ -182,7 +189,9 @@ LTP_CHECK_RENAMEAT | ||
29 | LTP_CHECK_FALLOCATE | ||
30 | LTP_CHECK_SYSCALL_FCNTL | ||
31 | LTP_CHECK_SYSCALL_PERF_EVENT_OPEN | ||
32 | +if test "x$with_tirpc" = xyes; then | ||
33 | LTP_CHECK_TIRPC | ||
34 | +fi | ||
35 | LTP_CHECK_TEE | ||
36 | LTP_CHECK_SPLICE | ||
37 | LTP_CHECK_VMSPLICE | ||