2023-07-25 16:43:23

by Shuah Khan

[permalink] [raw]
Subject: [PATCH] selftests:prctl: Fix make clean override warning

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 <[email protected]>
---
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