aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel
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
parentab247a9dde75b800a78114fc316c589bf320f7a9 (diff)
downloadmeta-ti-49a622ef70c004b26993f972a898f66998a30787.tar.gz
meta-ti-49a622ef70c004b26993f972a898f66998a30787.tar.bz2
meta-ti-49a622ef70c004b26993f972a898f66998a30787.zip
kselftests: enable ptp/testptp target
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel')
-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 @@
+From 9e1b0f0d7148524c226befdef90849f9e143ef66 Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <denys@ti.com>
+Date: Fri, 17 May 2019 18:20:21 +0000
+Subject: [PATCH] selftests: add "ptp" to TARGETS
+
+Signed-off-by: Denys Dmytriyenko <denys@ti.com>
+---
+ tools/testing/selftests/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
+index 831022b1..6bd7cf81 100644
+--- a/tools/testing/selftests/Makefile
++++ b/tools/testing/selftests/Makefile
+@@ -20,6 +20,7 @@ TARGETS += net
+ TARGETS += nsfs
+ TARGETS += powerpc
+ TARGETS += pstore
++TARGETS += ptp
+ TARGETS += ptrace
+ TARGETS += seccomp
+ TARGETS += sigaltstack
+--
+2.17.1
+
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 = "\
file://0001-selftests-gpio-use-pkg-config.patch \
file://0001-selftests-net-use-LDLIBS-to-link-against-libnuma.patch \
file://0001-selftests-breakpoints-allow-to-cross-compile-for-aar.patch;apply=no \
+ file://0001-selftests-add-ptp-to-TARGETS.patch \
"
SRC_URI[md5sum] = "b5e7f6b9b2fe1b6cc7bc56a3a0bfc090"
@@ -64,6 +65,7 @@ PACKAGE_BEFORE_PN = " \
${PN}-nsfs \
${PN}-powerpc \
${PN}-pstore \
+ ${PN}-ptp \
${PN}-ptrace \
${PN}-seccomp \
${PN}-sigaltstack \
@@ -100,6 +102,7 @@ FILES_${PN}-net = "${bindir}/kselftests/net"
FILES_${PN}-nsfs = "${bindir}/kselftests/nsfs"
FILES_${PN}-powerpc = "${bindir}/kselftests/powerpc"
FILES_${PN}-pstore = "${bindir}/kselftests/pstore"
+FILES_${PN}-ptp = "${bindir}/kselftests/ptp"
FILES_${PN}-ptrace = "${bindir}/kselftests/ptrace"
FILES_${PN}-seccomp = "${bindir}/kselftests/seccomp"
FILES_${PN}-sigaltstack = "${bindir}/kselftests/sigaltstack"