aboutsummaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_onosfwpluginbuild/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'build/f_isoroot/f_onosfwpluginbuild/Makefile')
-rw-r--r--build/f_isoroot/f_onosfwpluginbuild/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/f_isoroot/f_onosfwpluginbuild/Makefile b/build/f_isoroot/f_onosfwpluginbuild/Makefile
index 0cf290c1c..9516e3d46 100644
--- a/build/f_isoroot/f_onosfwpluginbuild/Makefile
+++ b/build/f_isoroot/f_onosfwpluginbuild/Makefile
@@ -49,6 +49,9 @@ release:.onosbuild
$(REPOINFO) -r . > gitinfo_onos-plugin.txt
@rm -rf fuel-plugin-onos
@touch .onosbuild
+ # 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