$(RM) will always expand to 'rm -f' which means we don't need to ignore
errors or pass this flag again.
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 31d5cbb..8e8bcc0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -201,8 +201,8 @@ testsuite_test_dependencies_LDADD = $(TESTSUITE_LDADD)
 testsuite_test_dependencies_CPPFLAGS = $(TESTSUITE_CPPFLAGS)
 
 testsuite-distclean:
-       -$(RM) -rf $(ROOTFS)
-       -$(RM) testsuite/stamp-rootfs
+       $(RM) -r $(ROOTFS)
+       $(RM) testsuite/stamp-rootfs
 
 DISTCLEAN_LOCAL_HOOKS += testsuite-distclean
 EXTRA_DIST += testsuite/rootfs-pristine
-- 
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to