[PATCH] selftests:prctl: Fix make clean override warning

Shuah Khan posted 1 patch 2 years, 6 months ago
tools/testing/selftests/prctl/Makefile | 2 --
1 file changed, 2 deletions(-)
[PATCH] selftests:prctl: Fix make clean override warning
Posted by Shuah Khan 2 years, 6 months ago
Remove clean target in Makefile to fix the following warning
and use the one in common lib.mk

Makefile:14: warning: overriding recipe for target 'clean'
../lib.mk:160: warning: ignoring old recipe for target 'clean'

Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
---
 tools/testing/selftests/prctl/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/testing/selftests/prctl/Makefile b/tools/testing/selftests/prctl/Makefile
index cfc35d29fc2e..01dc90fbb509 100644
--- a/tools/testing/selftests/prctl/Makefile
+++ b/tools/testing/selftests/prctl/Makefile
@@ -10,7 +10,5 @@ all: $(TEST_PROGS)
 
 include ../lib.mk
 
-clean:
-	rm -fr $(TEST_PROGS)
 endif
 endif
-- 
2.39.2