summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/kselftests
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2019-05-18 02:27:21 +0000
committerDenys Dmytriyenko <denys@ti.com>2019-05-18 18:56:13 +0000
commit49a622ef70c004b26993f972a898f66998a30787 (patch)
tree188e38606ec953db0001ba96258f2e21ad7a9b27 /recipes-kernel/kselftests
parentab247a9dde75b800a78114fc316c589bf320f7a9 (diff)
downloadmeta-ti-49a622ef70c004b26993f972a898f66998a30787.tar.gz
kselftests: enable ptp/testptp target
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel/kselftests')
-rw-r--r--recipes-kernel/kselftests/files/0001-selftests-add-ptp-to-TARGETS.patch25
-rw-r--r--recipes-kernel/kselftests/kselftests_4.10.bb3
2 files changed, 28 insertions, 0 deletions
diff --git a/recipes-kernel/kselftests/files/0001-selftests-add-ptp-to-TARGETS.patch b/recipes-kernel/kselftests/files/0001-selftests-add-ptp-to-TARGETS.patch
new file mode 100644
index 00000000..4c4a00e7
--- /dev/null
+++ b/recipes-kernel/kselftests/files/0001-selftests-add-ptp-to-TARGETS.patch
@@ -0,0 +1,25 @@
1From 9e1b0f0d7148524c226befdef90849f9e143ef66 Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com>
3Date: Fri, 17 May 2019 18:20:21 +0000
4Subject: [PATCH] selftests: add "ptp" to TARGETS
5
6Signed-off-by: Denys Dmytriyenko <denys@ti.com>
7---
8 tools/testing/selftests/Makefile | 1 +
9 1 file changed, 1 insertion(+)
10
11diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
12index 831022b1..6bd7cf81 100644
13--- a/tools/testing/selftests/Makefile
14+++ b/tools/testing/selftests/Makefile
15@@ -20,6 +20,7 @@ TARGETS += net
16 TARGETS += nsfs
17 TARGETS += powerpc
18 TARGETS += pstore
19+TARGETS += ptp
20 TARGETS += ptrace
21 TARGETS += seccomp
22 TARGETS += sigaltstack
23--
242.17.1
25
diff --git a/recipes-kernel/kselftests/kselftests_4.10.bb b/recipes-kernel/kselftests/kselftests_4.10.bb
index 7aa173f6..b28868f5 100644
--- a/recipes-kernel/kselftests/kselftests_4.10.bb
+++ b/recipes-kernel/kselftests/kselftests_4.10.bb
@@ -11,6 +11,7 @@ SRC_URI = "\
11 file://0001-selftests-gpio-use-pkg-config.patch \ 11 file://0001-selftests-gpio-use-pkg-config.patch \
12 file://0001-selftests-net-use-LDLIBS-to-link-against-libnuma.patch \ 12 file://0001-selftests-net-use-LDLIBS-to-link-against-libnuma.patch \
13 file://0001-selftests-breakpoints-allow-to-cross-compile-for-aar.patch;apply=no \ 13 file://0001-selftests-breakpoints-allow-to-cross-compile-for-aar.patch;apply=no \
14 file://0001-selftests-add-ptp-to-TARGETS.patch \
14" 15"
15 16
16SRC_URI[md5sum] = "b5e7f6b9b2fe1b6cc7bc56a3a0bfc090" 17SRC_URI[md5sum] = "b5e7f6b9b2fe1b6cc7bc56a3a0bfc090"
@@ -64,6 +65,7 @@ PACKAGE_BEFORE_PN = " \
64 ${PN}-nsfs \ 65 ${PN}-nsfs \
65 ${PN}-powerpc \ 66 ${PN}-powerpc \
66 ${PN}-pstore \ 67 ${PN}-pstore \
68 ${PN}-ptp \
67 ${PN}-ptrace \ 69 ${PN}-ptrace \
68 ${PN}-seccomp \ 70 ${PN}-seccomp \
69 ${PN}-sigaltstack \ 71 ${PN}-sigaltstack \
@@ -100,6 +102,7 @@ FILES_${PN}-net = "${bindir}/kselftests/net"
100FILES_${PN}-nsfs = "${bindir}/kselftests/nsfs" 102FILES_${PN}-nsfs = "${bindir}/kselftests/nsfs"
101FILES_${PN}-powerpc = "${bindir}/kselftests/powerpc" 103FILES_${PN}-powerpc = "${bindir}/kselftests/powerpc"
102FILES_${PN}-pstore = "${bindir}/kselftests/pstore" 104FILES_${PN}-pstore = "${bindir}/kselftests/pstore"
105FILES_${PN}-ptp = "${bindir}/kselftests/ptp"
103FILES_${PN}-ptrace = "${bindir}/kselftests/ptrace" 106FILES_${PN}-ptrace = "${bindir}/kselftests/ptrace"
104FILES_${PN}-seccomp = "${bindir}/kselftests/seccomp" 107FILES_${PN}-seccomp = "${bindir}/kselftests/seccomp"
105FILES_${PN}-sigaltstack = "${bindir}/kselftests/sigaltstack" 108FILES_${PN}-sigaltstack = "${bindir}/kselftests/sigaltstack"