[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20180111173942.20658-1-shuahkh@osg.samsung.com>
Date: Thu, 11 Jan 2018 10:39:42 -0700
From: Shuah Khan <shuahkh@....samsung.com>
To: shuah@...nel.org
Cc: Shuah Khan <shuahkh@....samsung.com>, kstewart@...uxfoundation.org,
tglx@...utronix.de, gregkh@...uxfoundation.org,
pombredanne@...b.com, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] 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@....samsung.com>
---
tools/testing/selftests/media_tests/Makefile | 7 ++-----
1 file 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
--
2.14.1
Powered by blists - more mailing lists