From: Shuah Khan Date: Fri, 8 Sep 2017 22:05:50 +0000 (-0600) Subject: selftests: watchdog: fix to use TEST_GEN_PROGS and remove clean X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e2fb65594cae9a016fab4639a5d22a914f1e16c8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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)