diff options
author | Radek Zetik <radekx.zetik@intel.com> | 2015-10-21 06:45:20 +0100 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2015-10-29 11:32:19 +0000 |
commit | 4bdcd58361959541d9d3572373cabd60c0929851 (patch) | |
tree | dcefd96a5411545484ddeda095ae742f1de9241b /src/mk | |
parent | 67b0760d2b123ee834f8552057aed0e68a282257 (diff) |
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>
Diffstat (limited to 'src/mk')
-rw-r--r-- | src/mk/make-subsys.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mk/make-subsys.mk b/src/mk/make-subsys.mk index a40f5677..b0bd6b85 100644 --- a/src/mk/make-subsys.mk +++ b/src/mk/make-subsys.mk @@ -21,7 +21,7 @@ .PHONY: $(SUBDIRS) -all clean cleanse clobber install uninstall test sanity: $(SUBDIRS) +all clean distclean clobber install uninstall test sanity: $(SUBDIRS) $(AT)echo "finished making $@" $(SUBDIRS): |