aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2017-07-07 11:01:52 -0500
committerShuah Khan <shuahkh@osg.samsung.com>2017-07-24 12:44:39 -0600
commit5cc3027f002fafee33137b0a44f8dee23aa1c7a4 (patch)
tree5a2b21464f8e36a8d24f33dbd2514ae83cf05da3 /tools
parentselftests: watchdog: get boot reason via WDIOC_GETBOOTSTATUS (diff)
downloadwireguard-linux-5cc3027f002fafee33137b0a44f8dee23aa1c7a4.tar.xz
wireguard-linux-5cc3027f002fafee33137b0a44f8dee23aa1c7a4.zip
selftests: Fix installation for splice test
Simplify the Makefile rules so that the test is automatically installed (and cleaned) by leveraging the TEST_GEN_PROGS_EXTENDED definition. Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/splice/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/testing/selftests/splice/Makefile b/tools/testing/selftests/splice/Makefile
index 9fc78e5e5451..7e1187e007fa 100644
--- a/tools/testing/selftests/splice/Makefile
+++ b/tools/testing/selftests/splice/Makefile
@@ -1,7 +1,4 @@
TEST_PROGS := default_file_splice_read.sh
-EXTRA := default_file_splice_read
-all: $(TEST_PROGS) $(EXTRA)
+TEST_GEN_PROGS_EXTENDED := default_file_splice_read
include ../lib.mk
-
-EXTRA_CLEAN := $(EXTRA)