projects
/
xeon-phi-kernel-module
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1142429
)
Manually building a 'clean' target in the Makefile.
author
Aaron Taylor
<ataylor@subgeniuskitty.com>
Mon, 26 Apr 2021 11:44:19 +0000
(
04:44
-0700)
committer
Aaron Taylor
<ataylor@subgeniuskitty.com>
Mon, 26 Apr 2021 11:44:19 +0000
(
04:44
-0700)
After completing the port to the newer kernel, the pattern behind this cleanup
can be better organized.
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index
defbfcf
..
5c7a6a8
100644
(file)
--- 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