From 4bdcd58361959541d9d3572373cabd60c0929851 Mon Sep 17 00:00:00 2001 From: Radek Zetik Date: Wed, 21 Oct 2015 06:45:20 +0100 Subject: Fix Make, Make clean and when the src directories are cloned Update the rules for Make clean and distclean. Update make not to clone the repositories if they are already cloned, simply pull, checkout the tags and build. Changes in this patch: 1. QEMU is built just once in .../src directory. .../src_vanilla and .../src_cuse don't contain qemu anymore 2. 'make clean' deletes all built *.o files 3. 'make distclean' deletes all built and generated files (distclean is used instead of cleanse now) 4. 'make' calls 'git pull' when repository is cloned already JIRA: VSPERF-94 Change-Id: I80f9a135580b450fb4606cf947661049ff509548 Signed-off-by: Radek Zetik Reviewed-by: Billy O Mahony Reviewed-by: Gene Snider Reviewed-by: Maryam Tahhan --- src/l2fwd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/l2fwd') diff --git a/src/l2fwd/Makefile b/src/l2fwd/Makefile index b920769e..39e64a56 100644 --- a/src/l2fwd/Makefile +++ b/src/l2fwd/Makefile @@ -34,7 +34,7 @@ clean: $(MAKE) -C $(KERNELDIR) M=$(PWD) clean rm -f l2fwd*deb -cleanse: clean +distclean: clean clobber: clean -- cgit 1.2.3-korg