[ovs-dev,2/8] datapath: Clean up some gcov, tmp and cache files.

Message ID 20190208164900.30679-3-i.maximets@samsung.com
State Accepted
Headers show
Series
  • travis: Fix equal distcheck runs.
Related show

Commit Message

Ilya Maximets Feb. 8, 2019, 4:48 p.m.
'distcheck' complains about these files while building --with-linux.

  ERROR: files left in build directory after distclean:
  ./datapath/linux/.tmp_ip6_gre.gcno
  ./datapath/linux/.tmp_ip_tunnels_core.gcno
  ./datapath/linux/.tmp_genetlink-openvswitch.gcno
  ./datapath/linux/.tmp_stt.gcno
  <..>
  ./datapath/linux/.tmp_versions/vport-gre.mod
  ./datapath/linux/.tmp_versions/vport-geneve.mod
  ./datapath/linux/.tmp_versions/vport-vxlan.mod
  ./datapath/linux/.tmp_versions/vport-lisp.mod
  ./datapath/linux/.tmp_versions/vport-stt.mod
  <..>
  ./datapath/linux/.dev-openvswitch.o.d
  ./datapath/linux/.ip_tunnels_core.o.d
  ./datapath/linux/.vport.o.d
  ./datapath/linux/.udp_tunnel.o.d
  ./datapath/linux/.cache.mk

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
---
 datapath/linux/Makefile.main.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

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