diff options
author | Darren Hart <dvhart@linux.intel.com> | 2012-09-11 21:17:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-12 15:13:52 +0100 |
commit | 244dd760116ed40f498aaaa38e18771f506c0054 (patch) | |
tree | 9740cf8c626373db47a653f5fd5decdaabe1964d /meta/recipes-rt | |
parent | c2383a34ea448832233c296dce74ba89cb71519f (diff) | |
download | poky-244dd760116ed40f498aaaa38e18771f506c0054.tar.gz |
rt-tests: Update to 0.84, use the kernel.org git repository
The maintainer of rt-tests has recreated the git repository on kernel.org and
has stated that kernel.org is now the official source for rt-tests.
Update to 0.84. Remove the user cflags and ldflags patch as it is
included in the 0.84 release.
(From OE-Core rev: cdf84de3584e17b7fea2401cdb4eaae9752e98a2)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-rt')
-rw-r--r-- | meta/recipes-rt/rt-tests/rt-tests-0.83/makefile-support-user-cflags-ldflags.patch | 89 | ||||
-rw-r--r-- | meta/recipes-rt/rt-tests/rt-tests_0.84.bb (renamed from meta/recipes-rt/rt-tests/rt-tests_0.83.bb) | 11 |
2 files changed, 4 insertions, 96 deletions
diff --git a/meta/recipes-rt/rt-tests/rt-tests-0.83/makefile-support-user-cflags-ldflags.patch b/meta/recipes-rt/rt-tests/rt-tests-0.83/makefile-support-user-cflags-ldflags.patch deleted file mode 100644 index 09a5d7b812..0000000000 --- a/meta/recipes-rt/rt-tests/rt-tests-0.83/makefile-support-user-cflags-ldflags.patch +++ /dev/null | |||
@@ -1,89 +0,0 @@ | |||
1 | From: Darren Hart <dvhart@linux.intel.com> | ||
2 | Subject: [PATCH rt-tests RFC 4/6] Makefile: Support user supplied CFLAGS and LDFLAGS | ||
3 | Date: Thu, 22 Mar 2012 02:14:04 +0100 | ||
4 | |||
5 | Accept user supplied CFLAGS and LDFLAGS, overwriting the | ||
6 | Makefile supplied versions. This can cause the build to | ||
7 | fail if the user does not provide at least what the Makefile | ||
8 | defines, but so be it. | ||
9 | |||
10 | Upstream-Status: Submitted [linux-rt-users@vger.kernel.org] | ||
11 | |||
12 | Signed-off-by: Darren Hart <dvhart@linux.intel.com> | ||
13 | CC: Clark Williams <williams@redhat.com> | ||
14 | CC: John Kacur <jkacur@redhat.com> | ||
15 | CC: Denys Dmytriyenko <denis@denix.org> | ||
16 | Signed-off-by: John Kacur <jkacur@redhat.com> | ||
17 | --- | ||
18 | Makefile | 25 +++++++++++++------------ | ||
19 | 1 files changed, 13 insertions(+), 12 deletions(-) | ||
20 | |||
21 | diff --git a/Makefile b/Makefile | ||
22 | index 4038dcc..e1edf6c 100644 | ||
23 | --- a/Makefile | ||
24 | +++ b/Makefile | ||
25 | @@ -20,7 +20,8 @@ ifneq ($(filter x86_64 i386 ia64 mips powerpc,$(machinetype)),) | ||
26 | NUMA := 1 | ||
27 | endif | ||
28 | |||
29 | -CFLAGS = -D_GNU_SOURCE -Wall -Wno-nonnull -Isrc/include | ||
30 | +CFLAGS ?= -D_GNU_SOURCE -Wall -Wno-nonnull -Isrc/include | ||
31 | +LDFLAGS ?= | ||
32 | |||
33 | PYLIB := $(shell python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()') | ||
34 | |||
35 | @@ -61,41 +62,41 @@ all: $(TARGETS) hwlatdetect | ||
36 | -include $(sources:.c=.d) | ||
37 | |||
38 | cyclictest: cyclictest.o rt-utils.o | ||
39 | - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) $(NUMA_LIBS) | ||
40 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) $(NUMA_LIBS) | ||
41 | |||
42 | signaltest: signaltest.o rt-utils.o | ||
43 | - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) | ||
44 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) | ||
45 | |||
46 | pi_stress: pi_stress.o | ||
47 | - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) | ||
48 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) | ||
49 | |||
50 | hwlatdetect: src/hwlatdetect/hwlatdetect.py | ||
51 | chmod +x src/hwlatdetect/hwlatdetect.py | ||
52 | ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect | ||
53 | |||
54 | rt-migrate-test: rt-migrate-test.o | ||
55 | - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) | ||
56 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) | ||
57 | |||
58 | ptsematest: ptsematest.o rt-utils.o rt-get_cpu.o | ||
59 | - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) $(EXTRA_LIBS) | ||
60 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) $(EXTRA_LIBS) | ||
61 | |||
62 | sigwaittest: sigwaittest.o rt-utils.o rt-get_cpu.o | ||
63 | - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) $(EXTRA_LIBS) | ||
64 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) $(EXTRA_LIBS) | ||
65 | |||
66 | svsematest: svsematest.o rt-utils.o rt-get_cpu.o | ||
67 | - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) $(EXTRA_LIBS) | ||
68 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) $(EXTRA_LIBS) | ||
69 | |||
70 | pmqtest: pmqtest.o rt-utils.o rt-get_cpu.o | ||
71 | - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) $(EXTRA_LIBS) | ||
72 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) $(EXTRA_LIBS) | ||
73 | |||
74 | sendme: sendme.o rt-utils.o rt-get_cpu.o | ||
75 | - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) $(EXTRA_LIBS) | ||
76 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) $(EXTRA_LIBS) | ||
77 | |||
78 | pip_stress: pip_stress.o error.o rt-utils.o | ||
79 | - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) | ||
80 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) | ||
81 | |||
82 | hackbench: hackbench.o | ||
83 | - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) | ||
84 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) | ||
85 | |||
86 | CLEANUP = $(TARGETS) *.o .depend *.*~ *.orig *.rej rt-tests.spec *.d | ||
87 | CLEANUP += $(if $(wildcard .git), ChangeLog) | ||
88 | -- | ||
89 | 1.7.7.6 | ||
diff --git a/meta/recipes-rt/rt-tests/rt-tests_0.83.bb b/meta/recipes-rt/rt-tests/rt-tests_0.84.bb index 6c4931e0a9..c54936e13b 100644 --- a/meta/recipes-rt/rt-tests/rt-tests_0.83.bb +++ b/meta/recipes-rt/rt-tests/rt-tests_0.84.bb | |||
@@ -6,15 +6,12 @@ LICENSE = "GPLv2 & GPLv2+" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ |
7 | file://src/cyclictest/cyclictest.c;beginline=7;endline=9;md5=ce162fe491d19d2ec67dff6dbc938d50 \ | 7 | file://src/cyclictest/cyclictest.c;beginline=7;endline=9;md5=ce162fe491d19d2ec67dff6dbc938d50 \ |
8 | file://src/pi_tests/pi_stress.c;beginline=6;endline=19;md5=bd426a634a43ec612e9fbf125dfcc949" | 8 | file://src/pi_tests/pi_stress.c;beginline=6;endline=19;md5=bd426a634a43ec612e9fbf125dfcc949" |
9 | # Version v0.83 | 9 | # Version v0.84 |
10 | SRCREV = "5f1e84f8b015df3ff950056494134eca3f640d70" | 10 | SRCREV = "857cdd5320ce1f293f5dbcbec79cc8fe22b0bebf" |
11 | 11 | ||
12 | # git -> 0.83 needs a PE bump | 12 | PR = "r0" |
13 | PE = "1" | ||
14 | PR = "r2" | ||
15 | 13 | ||
16 | SRC_URI = "git://github.com/clrkwllms/rt-tests.git \ | 14 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git" |
17 | file://makefile-support-user-cflags-ldflags.patch" | ||
18 | 15 | ||
19 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
20 | 17 | ||