summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2017-09-09 01:05:50 +0300
committerShuah Khan <shuahkh@osg.samsung.com>2017-09-21 16:55:38 +0300
commite2fb65594cae9a016fab4639a5d22a914f1e16c8 (patch)
tree11fb7876236ccfc7a075d7dbdeeb2e1fc411c247 /tools
parente0a5696a23290c31c5ac2c76f0e7fe50a12c1fc6 (diff)
downloadlinux-e2fb65594cae9a016fab4639a5d22a914f1e16c8.tar.xz
selftests: watchdog: fix to use TEST_GEN_PROGS and remove clean
TEST_PROGS should be used for test scripts that don't ned to be built. Use TEST_GEN_PROGS instead which is intended for test executables. Remove clean target and let the common clean take care of cleaning. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/watchdog/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/testing/selftests/watchdog/Makefile b/tools/testing/selftests/watchdog/Makefile
index f863c664e3d1..ee068511fd0b 100644
--- a/tools/testing/selftests/watchdog/Makefile
+++ b/tools/testing/selftests/watchdog/Makefile
@@ -1,8 +1,3 @@
-TEST_PROGS := watchdog-test
-
-all: $(TEST_PROGS)
+TEST_GEN_PROGS := watchdog-test
include ../lib.mk
-
-clean:
- rm -fr $(TEST_PROGS)