diff mbox series

selftests:prctl: Fix make clean override warning

Message ID 20230725153341.15025-1-skhan@linuxfoundation.org (mailing list archive)
State Accepted
Commit 7611c8ff152fe58585fc51bcf452ad4c089dc751
Headers show
Series selftests:prctl: Fix make clean override warning | expand

Commit Message

Shuah Khan July 25, 2023, 3:33 p.m. UTC
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 mbox series

Patch

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