diff options
author | Denys Dmytriyenko <denys@ti.com> | 2019-05-18 02:27:21 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2019-05-18 18:56:13 +0000 |
commit | 49a622ef70c004b26993f972a898f66998a30787 (patch) | |
tree | 188e38606ec953db0001ba96258f2e21ad7a9b27 /recipes-kernel/kselftests | |
parent | ab247a9dde75b800a78114fc316c589bf320f7a9 (diff) | |
download | meta-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.patch | 25 | ||||
-rw-r--r-- | recipes-kernel/kselftests/kselftests_4.10.bb | 3 |
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 @@ | |||
1 | From 9e1b0f0d7148524c226befdef90849f9e143ef66 Mon Sep 17 00:00:00 2001 | ||
2 | From: Denys Dmytriyenko <denys@ti.com> | ||
3 | Date: Fri, 17 May 2019 18:20:21 +0000 | ||
4 | Subject: [PATCH] selftests: add "ptp" to TARGETS | ||
5 | |||
6 | Signed-off-by: Denys Dmytriyenko <denys@ti.com> | ||
7 | --- | ||
8 | tools/testing/selftests/Makefile | 1 + | ||
9 | 1 file changed, 1 insertion(+) | ||
10 | |||
11 | diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile | ||
12 | index 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 | -- | ||
24 | 2.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 | ||
16 | SRC_URI[md5sum] = "b5e7f6b9b2fe1b6cc7bc56a3a0bfc090" | 17 | SRC_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" | |||
100 | FILES_${PN}-nsfs = "${bindir}/kselftests/nsfs" | 102 | FILES_${PN}-nsfs = "${bindir}/kselftests/nsfs" |
101 | FILES_${PN}-powerpc = "${bindir}/kselftests/powerpc" | 103 | FILES_${PN}-powerpc = "${bindir}/kselftests/powerpc" |
102 | FILES_${PN}-pstore = "${bindir}/kselftests/pstore" | 104 | FILES_${PN}-pstore = "${bindir}/kselftests/pstore" |
105 | FILES_${PN}-ptp = "${bindir}/kselftests/ptp" | ||
103 | FILES_${PN}-ptrace = "${bindir}/kselftests/ptrace" | 106 | FILES_${PN}-ptrace = "${bindir}/kselftests/ptrace" |
104 | FILES_${PN}-seccomp = "${bindir}/kselftests/seccomp" | 107 | FILES_${PN}-seccomp = "${bindir}/kselftests/seccomp" |
105 | FILES_${PN}-sigaltstack = "${bindir}/kselftests/sigaltstack" | 108 | FILES_${PN}-sigaltstack = "${bindir}/kselftests/sigaltstack" |