File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,10 @@ cd "$(dirname "$(readlink -f "$0")")/../"
88DESIGN_NAME=${1:- gcd}
99PLATFORM=${2:- nangate45}
1010CONFIG_MK=${3:- config.mk}
11- if [ $# -eq 4 ]; then
11+ if [ $# -ge 4 ]; then
1212 FLOW_VARIANT=$4
1313fi
14+ TARGET=${5:- finish}
1415DESIGN_CONFIG=./designs/$PLATFORM /$DESIGN_NAME /$CONFIG_MK
1516LOG_FILE=./logs/$PLATFORM /$DESIGN_NAME .log
1617mkdir -p " ./logs/$PLATFORM "
@@ -26,7 +27,7 @@ $__make clean_all clean_metadata 2>&1 | tee "$LOG_FILE"
2627# turn off abort on error so we can always capture the result
2728set +e
2829
29- $__make finish metadata 2>&1 | tee -a " $LOG_FILE "
30+ $__make " ${TARGET} " metadata 2>&1 | tee -a " $LOG_FILE "
3031
3132# Save the return code to return as the overall status after we package
3233# the results
You can’t perform that action at this time.
0 commit comments