diff --git a/datapath/linux/Makefile.main.in b/datapath/linux/Makefile.main.in index 88f144ccb52..7d18253be57 100644 --- a/datapath/linux/Makefile.main.in +++ b/datapath/linux/Makefile.main.in @@ -29,7 +29,8 @@ check: all installcheck: mostlyclean: clean: - rm -f *.o *.ko *.mod.* Module.symvers *.cmd kcompat.h.new + rm -f *.o *.ko *.mod.* Module.symvers .*.cmd kcompat.h.new \ + modules.order .tmp_versions/openvswitch.mod for d in $(build_links); do if test -h $$d; then rm $$d; fi; done distclean: clean rm -f kcompat.h