Skip to content

Commit 0a4b13f

Browse files
committed
util: cleanup make issue variables
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent 2d97675 commit 0a4b13f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

flow/util/generate-vars.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ EXCLUDED_VARS+="|LD_LIBRARY_PATH|INFOPATH|HOME|PWD|MAIL|QT_QPA_PLATFORM"
88
EXCLUDED_VARS+="|OPENROAD_CMD|OPENROAD_GUI_CMD|OPENROAD_NO_EXIT_CMD"
99
EXCLUDED_VARS+="|LSORACLE_CMD|YOSYS_CMD|TIME_CMD|STDBUF_CMD"
1010
EXCLUDED_VARS+="|SHELL|OPENROAD_EXE|YOSYS_EXE"
11+
EXCLUDED_VARS+="|NPROC|NUM_CORES|PUBLIC|CURDIR|ISSUE_SCRIPTS|MAKEFLAGS"
1112
EXCLUDED_VARS+="|UNSET_VARIABLES_NAMES|do-step|get_variables|do-copy"
1213

1314
# get the root directory of the Git repository
@@ -19,6 +20,10 @@ do
1920
continue
2021
fi
2122
rhs=`sed -e 's/^"//' -e 's/"$//' <<<"${V#*=}"`
23+
if [[ "${rhs}" == "''" ]]; then
24+
echo "Skiping empty variable ${V}"
25+
continue
26+
fi
2227
# handle absolute paths
2328
if [[ "${rhs}" == /* ]]; then
2429
if [[ ! -e "${rhs}" ]]; then

0 commit comments

Comments
 (0)