From: Shuah Khan Date: Thu, 11 Jan 2018 17:28:35 +0000 (-0700) Subject: selftests: media_tests: Fix Makefile 'clean' target warning X-Git-Tag: v4.16-rc1~87^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=170b555777cf1329419b96f952e2c320c93ecc40;p=thirdparty%2Flinux.git 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 --- diff --git a/tools/testing/selftests/media_tests/Makefile b/tools/testing/selftests/media_tests/Makefile index be5bd4ffb8950..c82cec2497dee 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