]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftests: media_tests: Fix Makefile 'clean' target warning
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 11 Jan 2018 17:28:35 +0000 (10:28 -0700)
committerShuah Khan <shuahkh@osg.samsung.com>
Fri, 12 Jan 2018 18:41:46 +0000 (11:41 -0700)
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>
tools/testing/selftests/media_tests/Makefile

index be5bd4ffb895057d8b4b70a4ae65f2202db4091d..c82cec2497dee80b836aec7e2c5b68675c03df56 100644 (file)
@@ -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