From: Shuah Khan Date: Fri, 21 Apr 2017 22:25:25 +0000 (-0600) Subject: selftests: sync: override clean in lib.mk to fix warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8ab02e0962bf91126797fefb9775dd1ffa54d29d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git selftests: sync: override clean in lib.mk to fix warnings Add override with EXTRA_CLEAN for lib.mk clean to fix the following warnings from clean target run. Makefile:24: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' Signed-off-by: Shuah Khan --- diff --git a/tools/testing/selftests/sync/Makefile b/tools/testing/selftests/sync/Makefile index 87ac400507c0..4981c6b6d050 100644 --- a/tools/testing/selftests/sync/Makefile +++ b/tools/testing/selftests/sync/Makefile @@ -20,5 +20,4 @@ TESTS += sync_stress_merge.o sync_test: $(OBJS) $(TESTS) -clean: - $(RM) sync_test $(OBJS) $(TESTS) +EXTRA_CLEAN := sync_test $(OBJS) $(TESTS)