bump version
[buildroot.git] / package / ltp-testsuite / ltp-testsuite.susv3-legacy.patch
blob810b2134579342047d667d0b60949515838ac0b9
1 diff -rdup ltp-full-20080831.oorig/testcases/kernel/mem/hugetlb/lib/Makefile ltp-full-20080831/testcases/kernel/mem/hugetlb/lib/Makefile
2 --- ltp-full-20080831.oorig/testcases/kernel/mem/hugetlb/lib/Makefile 2008-08-31 16:33:03.000000000 +0200
3 +++ ltp-full-20080831/testcases/kernel/mem/hugetlb/lib/Makefile 2008-09-26 17:17:17.000000000 +0200
4 @@ -21,7 +21,12 @@
5 # description : make(1) description file to build a library for the #
6 # common routines in the ipc(2) tests. #
7 #########################################################################
9 +ifneq ($(IS_UCLIBC)x$(UCLIBC_SUSV3_LEGACY),yx)
10 SRCS=libipc.c
11 +else
12 +SRCS=
13 +endif
14 OBJS=$(SRCS:.c=.o)
15 MAINS=libipc.a
16 CFLAGS+=-I../../../../../include -g -Wall
17 diff -rdup ltp-full-20080831.oorig/testcases/kernel/sched/tool/Makefile ltp-full-20080831/testcases/kernel/sched/tool/Makefile
18 --- ltp-full-20080831.oorig/testcases/kernel/sched/tool/Makefile 2008-08-31 16:33:19.000000000 +0200
19 +++ ltp-full-20080831/testcases/kernel/sched/tool/Makefile 2008-09-26 17:16:57.000000000 +0200
20 @@ -2,6 +2,10 @@ CFLAGS += -Wall -O -g
21 LDLIBS := -lpthread
23 SRCS=$(wildcard *.c)
24 +ifeq ($(IS_UCLIBC)x$(UCLIBC_SUSV3_LEGACY),yx)
25 +SRCS:=$(filter-out trace_sched.c,$(SRCS))
26 +endif
28 TARGETS=$(patsubst %.c,%,$(SRCS))
30 all: $(TARGETS)
31 diff -rdup ltp-full-20080831.oorig/testcases/kernel/syscalls/ipc/lib/Makefile ltp-full-20080831/testcases/kernel/syscalls/ipc/lib/Makefile
32 --- ltp-full-20080831.oorig/testcases/kernel/syscalls/ipc/lib/Makefile 2008-08-31 16:33:16.000000000 +0200
33 +++ ltp-full-20080831/testcases/kernel/syscalls/ipc/lib/Makefile 2008-09-26 17:16:31.000000000 +0200
34 @@ -16,7 +16,11 @@
35 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
38 +ifneq ($(IS_UCLIBC)x$(UCLIBC_SUSV3_LEGACY),yx)
39 SRCS = libipc.c
40 +else
41 +SRCS =
42 +endif
43 OBJS = $(SRCS:.c=.o)
44 LIBIPC = ../libipc.a
45 LIBIPC_HEADERS = ipcmsg.h ipcsem.h