OSDN Git Service

kselftest: arm64: Remove redundant clean target
authorMark Brown <broonie@kernel.org>
Wed, 24 Jun 2020 10:49:33 +0000 (11:49 +0100)
committerWill Deacon <will@kernel.org>
Wed, 24 Jun 2020 13:25:59 +0000 (14:25 +0100)
The arm64 signal tests generate warnings during build since both they and
the toplevel lib.mk define a clean target:

Makefile:25: warning: overriding recipe for target 'clean'
../../lib.mk:126: warning: ignoring old recipe for target 'clean'

Since the inclusion of lib.mk is in the signal Makefile there is no
situation where this warning could be avoided so just remove the redundant
clean target.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20200624104933.21125-1-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/signal/Makefile

index b497cfe..ac4ad00 100644 (file)
@@ -21,10 +21,6 @@ include ../../lib.mk
 $(TEST_GEN_PROGS): $(PROGS)
        cp $(PROGS) $(OUTPUT)/
 
-clean:
-       $(CLEAN)
-       rm -f $(PROGS)
-
 # Common test-unit targets to build common-layout test-cases executables
 # Needs secondary expansion to properly include the testcase c-file in pre-reqs
 .SECONDEXPANSION: