mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-18 05:05:45 +00:00
Merge branch 'YosysHQ:main' into main
This commit is contained in:
commit
439d859bba
7 changed files with 255 additions and 27 deletions
|
|
@ -36,12 +36,12 @@ help() {
|
|||
echo ""
|
||||
echo " $0 --datdir/simlib.v"
|
||||
echo ""
|
||||
} >&2
|
||||
exit 1
|
||||
} >&$(( $1 + 1))
|
||||
exit $1
|
||||
}
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
help
|
||||
help 1
|
||||
fi
|
||||
|
||||
if [ "$1" = "--build" ]; then
|
||||
|
|
@ -83,7 +83,7 @@ for opt; do
|
|||
tokens=( "${tokens[@]}" '@DATDIR@'"${opt#${prefix}datdir}" ) ;;
|
||||
--help|-\?|-h)
|
||||
if [ ${#tokens[@]} -eq 0 ]; then
|
||||
help
|
||||
help 0
|
||||
else
|
||||
tokens=( "${tokens[@]}" "$opt" )
|
||||
fi ;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue