File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh -e
2+ # Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
3+ # SPDX-License-Identifier: MIT
4+
5+ if [ -z $1 ] || [ -z $2 ] ; then
6+ echo " The REPO_DIR or WORK_DIR is empty and it needs to point to the corresponding directories."
7+ echo " Please run it with:"
8+ echo " $0 REPO_DIR WORK_DIR"
9+ exit 1
10+ fi
11+
12+ REPO_DIR=" $1 "
13+ WORK_DIR=" $2 "
14+
15+ _is_dir (){
16+ test -d " $1 " && return
17+ echo " The '$1 ' is not a directory."
18+ exit 1
19+ }
20+
21+ _is_dir " $REPO_DIR "
22+ _is_dir " $WORK_DIR "
23+
24+ # pybootchartgui tool
25+ CMD=" $CMD $WORK_DIR /oe-core/scripts/pybootchartgui/pybootchartgui.py"
26+ # display time in minutes instead of seconds
27+ CMD=" $CMD --minutes"
28+ # image format (png, svg, pdf); default format png
29+ CMD=" $CMD --format=svg"
30+ # output path (file or directory) where charts are stored
31+ CMD=" $CMD --output=buildchart"
32+ # /path/to/tmp/buildstats/<recipe-machine>/<BUILDNAME>/
33+ CMD=" $CMD $WORK_DIR /build/tmp/buildstats"
34+
35+ exec $CMD
You can’t perform that action at this time.
0 commit comments