Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
run_cmd rm -rf tmp*
}
+rootfstime () {
+ # Pre-build to populate sstate cache
+ _time=`time_cmd bitbake $1` || exit 125
+ run_cmd rm -rf tmp*
+
+ do_sync
+
+ results+=(`time_cmd bitbake -c rootfs $1`) || exit 125
+
+ save_buildstats
+}
+
+cleanup_rootfstime () {
+ run_cmd rm -rf tmp*
+}
+
tmpsize () {
log "cleaning up build directory"
run_cmd rm -rf bitbake.lock conf/sanity_info cache tmp sstate-cache
builddir="$workdir/build"
cleanup_func=cleanup_buildtime2
;;
+ rootfstime)
+ builddir="$workdir/build"
+ cleanup_func=cleanup_rootfstime
+ ;;
tmpsize)
quantity="SIZE"
;;