summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2018-01-11 18:28:35 +0100
committerShuah Khan <shuahkh@osg.samsung.com>2018-01-12 19:41:46 +0100
commit170b555777cf1329419b96f952e2c320c93ecc40 (patch)
tree30ef947274ec77b4100f6925995c84033406697c
parenttools/testing: Fix trailing semicolon (diff)
downloadlinux-170b555777cf1329419b96f952e2c320c93ecc40.tar.xz
linux-170b555777cf1329419b96f952e2c320c93ecc40.zip
selftests: media_tests: Fix Makefile 'clean' target warning
Remove 'clean' target and change TEST_PROGS to TEST_GEN_PROGS so the common lib.mk 'clean' target clean these generated files. TEST_PROGS is for shell scripts and not for generated test executables. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
-rw-r--r--tools/testing/selftests/media_tests/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/testing/selftests/media_tests/Makefile b/tools/testing/selftests/media_tests/Makefile
index be5bd4ffb895..c82cec2497de 100644
--- a/tools/testing/selftests/media_tests/Makefile
+++ b/tools/testing/selftests/media_tests/Makefile
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-TEST_PROGS := media_device_test media_device_open video_device_test
-all: $(TEST_PROGS)
+TEST_GEN_PROGS := media_device_test media_device_open video_device_test
+all: $(TEST_GEN_PROGS)
include ../lib.mk
-
-clean:
- rm -fr media_device_test media_device_open video_device_test