Fix Make, Make clean and when the src directories are cloned 35/2735/3
authorRadek Zetik <radekx.zetik@intel.com>
Wed, 21 Oct 2015 05:45:20 +0000 (06:45 +0100)
committerMaryam Tahhan <maryam.tahhan@intel.com>
Thu, 29 Oct 2015 11:32:19 +0000 (11:32 +0000)
commit4bdcd58361959541d9d3572373cabd60c0929851
treedcefd96a5411545484ddeda095ae742f1de9241b
parent67b0760d2b123ee834f8552057aed0e68a282257
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 <radekx.zetik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
src/Makefile
src/Makefile.src_cuse
src/Makefile.src_vanilla
src/dpdk/Makefile
src/l2fwd/Makefile
src/mk/make-subsys.mk
src/ovs/Makefile
src/qemu/Makefile