X-Git-Url: http://git.subgeniuskitty.com/xeon-phi-kernel-module/.git/blobdiff_plain/800f879a77716ad833d229ccc058e700c698b039..HEAD:/Makefile diff --git a/Makefile b/Makefile index fa50e3d..72e91f3 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,7 @@ kmodincludedir = $(realpath $(KERNEL_SRC))/include/modules # If building the host's driver for a MIC co-processor card, which card # $(ARCH) it should support -export MIC_CARD_ARCH +export MIC_CARD_ARCH = k1om .PHONY: all install modules .PHONY: modules_install conf_install dev_install kdev_install @@ -104,3 +104,12 @@ 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 ./*/*/*.o ./*/*/.*.o + @rm -f ./*/*.o.d ./*/.*.o.d ./*/*/.*.o.d + @rm -f ./*/*.o.cmd ./*/.*.o.cmd ./*/*/.*.o.cmd + @rm -f ./.mic*o.cmd + @rm -f ./modules.order ./Module.symvers + @rm -rf ./.tmp_versions + @rm -f ./mic.mod.* ./mic.o ./mic.ko