Skip to content

Commit 99a1609

Browse files
committed
util: add option to save all design/plat files
default is to only save the config.mk and other scripts Signed-off-by: Vitor Bandeira <[email protected]>
1 parent 48d95a5 commit 99a1609

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

flow/util/makeIssue.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,23 @@ fi
9191

9292
echo "Using $COMPRESS to compress tar file"
9393

94+
# Save all files inside design and platform folders
95+
if [ -v FULL_ISSUE ]; then
96+
DESIGN_PLATFORM_FILES="$DESIGN_DIR $PLATFORM_DIR"
97+
else
98+
DESIGN_PLATFORM_FILES="$DESIGN_DIR/config.mk $PLATFORM_DIR/config.mk"
99+
fi
100+
101+
set -x
94102
tar --use-compress-program=${COMPRESS} \
95103
--ignore-failed-read -chf $1_${ISSUE_TAG}.tar.gz \
96104
--transform="s|^|$1_${ISSUE_TAG}/|S" \
97105
--transform="s|^$1_${ISSUE_TAG}${FLOW_HOME}/|$1_${ISSUE_TAG}/|S" \
98-
$DESIGN_DIR/config.mk \
106+
$DESIGN_PLATFORM_FILES \
99107
$LOG_DIR \
100108
$OBJECTS_DIR \
101109
$REPORTS_DIR \
102110
$RESULTS_DIR \
103-
$PLATFORM_DIR/config.mk \
104111
$SCRIPTS_DIR \
105112
$(for f in $ISSUE_CP_FILES; do echo $f; done | sort | uniq)
106113

0 commit comments

Comments
 (0)