summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp_20210121.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ltp/ltp_20210121.bb')
-rw-r--r--meta/recipes-extended/ltp/ltp_20210121.bb9
1 files changed, 1 insertions, 8 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20210121.bb b/meta/recipes-extended/ltp/ltp_20210121.bb
index 5fe1a4f012..f58ca2eb2c 100644
--- a/meta/recipes-extended/ltp/ltp_20210121.bb
+++ b/meta/recipes-extended/ltp/ltp_20210121.bb
@@ -41,6 +41,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \
41 file://determinism.patch \ 41 file://determinism.patch \
42 file://0001-open_posix_testsuite-generate-makefiles.sh-Avoid-inc.patch \ 42 file://0001-open_posix_testsuite-generate-makefiles.sh-Avoid-inc.patch \
43 file://0002-Makefile-Avoid-wildcard-determinism-issues.patch \ 43 file://0002-Makefile-Avoid-wildcard-determinism-issues.patch \
44 file://0003-syscalls-swapon-swapoff-Move-common-library-to-libs.patch \
44 " 45 "
45 46
46S = "${WORKDIR}/git" 47S = "${WORKDIR}/git"
@@ -58,14 +59,6 @@ EXTRA_OECONF = " --with-realtime-testsuite --with-open-posix-testsuite "
58# ltp network/rpc test cases ftbfs when libtirpc is found 59# ltp network/rpc test cases ftbfs when libtirpc is found
59EXTRA_OECONF += " --without-tirpc " 60EXTRA_OECONF += " --without-tirpc "
60 61
61do_compile_prepend() {
62 # Reported at http://lists.linux.it/pipermail/ltp/2021-March/021274.html
63 # Avoid a race over construction of libswapon.o which is built by swapon and swapoff
64 # but the object differs depending upon which one built it
65 # ("../swapon/libswapon.c" vs "libswapon.c" references)
66 make -C ${B}/testcases/kernel/syscalls/swapon/
67}
68
69do_install(){ 62do_install(){
70 install -d ${D}${prefix}/ 63 install -d ${D}${prefix}/
71 oe_runmake DESTDIR=${D} SKIP_IDCHECK=1 install 64 oe_runmake DESTDIR=${D} SKIP_IDCHECK=1 install