summaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_qemupluginbuild/Makefile
diff options
context:
space:
mode:
authorStefan K. Berg <stefan.k.berg@ericsson.com>2016-01-29 13:29:43 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-29 13:29:43 +0000
commit17b1ae56ee54b6db75ea9d0b4e1ca8820a155c89 (patch)
tree7e7962bcead580dfdd368db542e2c76149b6e133 /build/f_isoroot/f_qemupluginbuild/Makefile
parenta9a74a47a32c57d664c4db540b6019292345318d (diff)
parent36895dd570e1c602ea3171fa4c8bb77b19bc91d4 (diff)
Merge "Cache as we go instead of in the end" into stable/brahmaputra
Diffstat (limited to 'build/f_isoroot/f_qemupluginbuild/Makefile')
-rw-r--r--build/f_isoroot/f_qemupluginbuild/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/f_isoroot/f_qemupluginbuild/Makefile b/build/f_isoroot/f_qemupluginbuild/Makefile
index 126e20549..0f245aec3 100644
--- a/build/f_isoroot/f_qemupluginbuild/Makefile
+++ b/build/f_isoroot/f_qemupluginbuild/Makefile
@@ -50,6 +50,9 @@ release:.qemubuild
$(REPOINFO) -r . > gitinfo_qemu-plugin.txt
@rm -rf fuel-plugin-qemu
@touch .qemubuild
+ # Store artifact in cache straight away if caching is enabled
+ # (no .cacheid will be present unless this is a cached build)
+ test -f .cacheid && $(MAKE) -f Makefile put-cache || exit 0
#############################################################################
# Cache operations - only used when building through ci/build.sh