From 121fcf15fd8ce31fb5bf9e7b9c34ec67906f3af9 Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Mon, 26 Apr 2021 04:44:19 -0700 Subject: [PATCH] Manually building a 'clean' target in the Makefile. After completing the port to the newer kernel, the pattern behind this cleanup can be better organized. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index defbfcf..5c7a6a8 100644 --- a/Makefile +++ b/Makefile @@ -104,3 +104,9 @@ kdev_install: $(INSTALL_f) Module.symvers $(DESTDIR)$(kmodinstalldir)/scif.symvers $(INSTALL_d) $(DESTDIR)$(kmodincludedir) $(INSTALL_f) include/scif.h $(DESTDIR)$(kmodincludedir) + +clean: + @rm -f ./*/*.o ./*/.*.o + @rm -f ./*/*.o.d ./*/.*.o.d + @rm -f ./*/*.o.cmd ./*/.*.o.cmd + @rm -f ./modules.order -- 2.20.1