summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch')
-rw-r--r--meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch77
1 files changed, 47 insertions, 30 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch b/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch
index 0781ba1743..2df385591b 100644
--- a/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch
+++ b/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch
@@ -22,10 +22,10 @@ Upstream-Status: Pending
22 testcases/realtime/stress/pi-tests/Makefile | 5 +++++ 22 testcases/realtime/stress/pi-tests/Makefile | 5 +++++
23 8 files changed, 35 insertions(+), 2 deletions(-) 23 8 files changed, 35 insertions(+), 2 deletions(-)
24 24
25Index: git/Makefile 25diff --git a/Makefile b/Makefile
26=================================================================== 26index 297f8e7..906b280 100644
27--- git.orig/Makefile 27--- a/Makefile
28+++ git/Makefile 28+++ b/Makefile
29@@ -49,6 +49,11 @@ SKIP_IDCHECK ?= 0 29@@ -49,6 +49,11 @@ SKIP_IDCHECK ?= 0
30 UCLINUX ?= 0 30 UCLINUX ?= 0
31 export UCLINUX 31 export UCLINUX
@@ -38,10 +38,10 @@ Index: git/Makefile
38 # CLEAN_TARGETS: Targets which exist solely in clean. 38 # CLEAN_TARGETS: Targets which exist solely in clean.
39 # COMMON_TARGETS: Targets which exist in all, clean, and install. 39 # COMMON_TARGETS: Targets which exist in all, clean, and install.
40 # INSTALL_TARGETS: Targets which exist in clean and install (contains 40 # INSTALL_TARGETS: Targets which exist in clean and install (contains
41Index: git/testcases/kernel/Makefile 41diff --git a/testcases/kernel/Makefile b/testcases/kernel/Makefile
42=================================================================== 42index 50a12fa..4f1987f 100644
43--- git.orig/testcases/kernel/Makefile 43--- a/testcases/kernel/Makefile
44+++ git/testcases/kernel/Makefile 44+++ b/testcases/kernel/Makefile
45@@ -48,13 +48,16 @@ SUBDIRS += connectors \ 45@@ -48,13 +48,16 @@ SUBDIRS += connectors \
46 logging \ 46 logging \
47 mem \ 47 mem \
@@ -60,10 +60,10 @@ Index: git/testcases/kernel/Makefile
60 ifeq ($(WITH_POWER_MANAGEMENT_TESTSUITE),yes) 60 ifeq ($(WITH_POWER_MANAGEMENT_TESTSUITE),yes)
61 SUBDIRS += power_management 61 SUBDIRS += power_management
62 endif 62 endif
63Index: git/testcases/kernel/sched/Makefile 63diff --git a/testcases/kernel/sched/Makefile b/testcases/kernel/sched/Makefile
64=================================================================== 64index 6245ed0..aa4eb7f 100644
65--- git.orig/testcases/kernel/sched/Makefile 65--- a/testcases/kernel/sched/Makefile
66+++ git/testcases/kernel/sched/Makefile 66+++ b/testcases/kernel/sched/Makefile
67@@ -23,5 +23,7 @@ 67@@ -23,5 +23,7 @@
68 top_srcdir ?= ../../.. 68 top_srcdir ?= ../../..
69 69
@@ -73,10 +73,10 @@ Index: git/testcases/kernel/sched/Makefile
73+ FILTER_OUT_DIRS += process_stress 73+ FILTER_OUT_DIRS += process_stress
74+endif 74+endif
75 include $(top_srcdir)/include/mk/generic_trunk_target.mk 75 include $(top_srcdir)/include/mk/generic_trunk_target.mk
76Index: git/testcases/kernel/syscalls/Makefile 76diff --git a/testcases/kernel/syscalls/Makefile b/testcases/kernel/syscalls/Makefile
77=================================================================== 77index 8acb395..b749126 100644
78--- git.orig/testcases/kernel/syscalls/Makefile 78--- a/testcases/kernel/syscalls/Makefile
79+++ git/testcases/kernel/syscalls/Makefile 79+++ b/testcases/kernel/syscalls/Makefile
80@@ -28,6 +28,11 @@ ifeq ($(UCLINUX),1) 80@@ -28,6 +28,11 @@ ifeq ($(UCLINUX),1)
81 FILTER_OUT_DIRS += capget capset chmod chown clone fork getcontext llseek \ 81 FILTER_OUT_DIRS += capget capset chmod chown clone fork getcontext llseek \
82 mincore mprotect nftw profil remap_file_pages sbrk 82 mincore mprotect nftw profil remap_file_pages sbrk
@@ -89,11 +89,11 @@ Index: git/testcases/kernel/syscalls/Makefile
89 89
90 ifeq ($(UCLIBC),1) 90 ifeq ($(UCLIBC),1)
91 FILTER_OUT_DIRS += profil 91 FILTER_OUT_DIRS += profil
92Index: git/testcases/network/nfsv4/acl/Makefile 92diff --git a/testcases/network/nfsv4/acl/Makefile b/testcases/network/nfsv4/acl/Makefile
93=================================================================== 93index 8bc78c2..c36cf50 100644
94--- git.orig/testcases/network/nfsv4/acl/Makefile 94--- a/testcases/network/nfsv4/acl/Makefile
95+++ git/testcases/network/nfsv4/acl/Makefile 95+++ b/testcases/network/nfsv4/acl/Makefile
96@@ -26,4 +26,8 @@ include $(top_srcdir)/include/mk/env_pre 96@@ -26,4 +26,8 @@ include $(top_srcdir)/include/mk/env_pre.mk
97 97
98 LDLIBS += $(ACL_LIBS) 98 LDLIBS += $(ACL_LIBS)
99 99
@@ -102,11 +102,25 @@ Index: git/testcases/network/nfsv4/acl/Makefile
102+endif 102+endif
103+ 103+
104 include $(top_srcdir)/include/mk/generic_leaf_target.mk 104 include $(top_srcdir)/include/mk/generic_leaf_target.mk
105Index: git/testcases/realtime/func/pi-tests/Makefile 105diff --git a/testcases/network/rpc/basic_tests/Makefile b/testcases/network/rpc/basic_tests/Makefile
106=================================================================== 106index 3160813..9bdf5d0 100644
107--- git.orig/testcases/realtime/func/pi-tests/Makefile 107--- a/testcases/network/rpc/basic_tests/Makefile
108+++ git/testcases/realtime/func/pi-tests/Makefile 108+++ b/testcases/network/rpc/basic_tests/Makefile
109@@ -27,5 +27,9 @@ include $(top_srcdir)/include/mk/env_pre 109@@ -23,4 +23,9 @@
110 top_srcdir ?= ../../../..
111
112 include $(top_srcdir)/include/mk/env_pre.mk
113+
114+ifeq ($(LIBC),musl)
115+FILTER_OUT_DIRS += rpc01
116+endif
117+
118 include $(top_srcdir)/include/mk/generic_trunk_target.mk
119diff --git a/testcases/realtime/func/pi-tests/Makefile b/testcases/realtime/func/pi-tests/Makefile
120index 7a7a57a..5808866 100644
121--- a/testcases/realtime/func/pi-tests/Makefile
122+++ b/testcases/realtime/func/pi-tests/Makefile
123@@ -27,5 +27,9 @@ include $(top_srcdir)/include/mk/env_pre.mk
110 include $(abs_srcdir)/../../config.mk 124 include $(abs_srcdir)/../../config.mk
111 125
112 MAKE_TARGETS := testpi-0 testpi-1 testpi-2 testpi-4 testpi-5 testpi-6 testpi-7 sbrk_mutex 126 MAKE_TARGETS := testpi-0 testpi-1 testpi-2 testpi-4 testpi-5 testpi-6 testpi-7 sbrk_mutex
@@ -116,10 +130,10 @@ Index: git/testcases/realtime/func/pi-tests/Makefile
116+ 130+
117 131
118 include $(top_srcdir)/include/mk/generic_leaf_target.mk 132 include $(top_srcdir)/include/mk/generic_leaf_target.mk
119Index: git/testcases/realtime/stress/pi-tests/Makefile 133diff --git a/testcases/realtime/stress/pi-tests/Makefile b/testcases/realtime/stress/pi-tests/Makefile
120=================================================================== 134index 5edc3b4..aa5987a 100644
121--- git.orig/testcases/realtime/stress/pi-tests/Makefile 135--- a/testcases/realtime/stress/pi-tests/Makefile
122+++ git/testcases/realtime/stress/pi-tests/Makefile 136+++ b/testcases/realtime/stress/pi-tests/Makefile
123@@ -24,4 +24,9 @@ top_srcdir ?= ../../../.. 137@@ -24,4 +24,9 @@ top_srcdir ?= ../../../..
124 138
125 include $(top_srcdir)/include/mk/env_pre.mk 139 include $(top_srcdir)/include/mk/env_pre.mk
@@ -130,3 +144,6 @@ Index: git/testcases/realtime/stress/pi-tests/Makefile
130+endif 144+endif
131+ 145+
132 include $(top_srcdir)/include/mk/generic_leaf_target.mk 146 include $(top_srcdir)/include/mk/generic_leaf_target.mk
147--
1482.7.0
149