mirror of
https://git.yoctoproject.org/poky
synced 2026-04-07 14:02:22 +02:00
ltp: add PACKAGECONFIG for numactrl
(From OE-Core rev: 4c7873552e13dfdba96afca7562c398d2966ca71) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
39
meta/recipes-extended/ltp/ltp/add-knob-for-numa.patch
Normal file
39
meta/recipes-extended/ltp/ltp/add-knob-for-numa.patch
Normal file
@@ -0,0 +1,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
|
||||
|
||||
@@ -27,6 +27,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \
|
||||
file://ltp-Do-not-link-against-libfl.patch \
|
||||
file://automake-foreign.patch \
|
||||
file://make-setregid02-work.patch \
|
||||
file://add-knob-for-numa.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -38,6 +39,7 @@ TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
export prefix = "/opt/ltp"
|
||||
export exec_prefix = "/opt/ltp"
|
||||
|
||||
PACKAGECONFIG[numa] = "--with-numa, --without-numa, numactl,"
|
||||
EXTRA_OECONF = " --with-power-management-testsuite --with-realtime-testsuite "
|
||||
|
||||
# ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure call.
|
||||
|
||||
Reference in New Issue
Block a user