aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorStefan K. Berg <stefan.k.berg@ericsson.com>2016-01-22 12:16:35 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-22 12:16:35 +0000
commit75ea26d80833b74586aeb71b1b06279c6408d754 (patch)
tree1103e013604045541ce3f00e30644c96916d0010 /build
parentd0d32d0dcde36e4a6a60e5846bfa1204e98b2d10 (diff)
parentc31529bb3b54a4c0db244c0929659f120f735fab (diff)
Merge "Store Fuel ISO in build cache as it is built"
Diffstat (limited to 'build')
-rw-r--r--build/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/Makefile b/build/Makefile
index 316d24e07..678d9667a 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -119,6 +119,10 @@ $(ISOCACHE):
sudo ./fuel_build_loop
cp /tmp/fuel-main/build/artifacts/fuel*.iso .
+ # Attempt to store ISO in cache to speed up the next
+ # build attempt. If cache is not enabled no harm is done.
+ $(MAKE) -f Makefile put-cache
+
.PHONY: mount-origiso umount-origiso
mount-origiso: $(ISOCACHE)
@echo "Mounting original ISO in $(ORIGDIR)"