From 34a096229ccadf895b2130bafa417e869c437b3c Mon Sep 17 00:00:00 2001 From: Adrian Byszuk Date: Wed, 17 Feb 2021 15:15:14 +0100 Subject: vendors: support deprecated param names (#1653) Co-authored-by: Adrian Byszuk --- scripts/vendors/compile-altera.sh | 10 +++++----- scripts/vendors/compile-intel.sh | 10 +++++----- scripts/vendors/compile-lattice.sh | 10 +++++----- scripts/vendors/compile-osvvm.sh | 10 +++++----- scripts/vendors/compile-uvvm.sh | 12 ++++++------ scripts/vendors/compile-xilinx-ise.sh | 10 +++++----- scripts/vendors/compile-xilinx-vivado.sh | 10 +++++----- 7 files changed, 36 insertions(+), 36 deletions(-) (limited to 'scripts') diff --git a/scripts/vendors/compile-altera.sh b/scripts/vendors/compile-altera.sh index 73aaeb164..06269071e 100755 --- a/scripts/vendors/compile-altera.sh +++ b/scripts/vendors/compile-altera.sh @@ -126,11 +126,11 @@ while [[ $# -gt 0 ]]; do GHDL="$2" # overwrite a potentially existing GHDL environment variable shift # skip argument ;; - --source) + --src|--source) SrcDir="$2" shift # skip argument ;; - --output) + --out|--output) DestDir="$2" shift # skip argument ;; @@ -179,9 +179,9 @@ if [[ $COMMAND -le 1 ]]; then echo " -H --halt-on-error Halt on error(s)." echo "" echo "Advanced options:" - echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" - echo " --output Name of the output directory, e.g. altera" - echo " --source Path to the sources." + echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" + echo " --output Name of the output directory, e.g. altera" + echo " --source Path to the sources." echo "" echo "Verbosity:" echo " -v --verbose Print verbose messages." diff --git a/scripts/vendors/compile-intel.sh b/scripts/vendors/compile-intel.sh index 79686f8b5..c363cc249 100755 --- a/scripts/vendors/compile-intel.sh +++ b/scripts/vendors/compile-intel.sh @@ -126,11 +126,11 @@ while [[ $# -gt 0 ]]; do GHDL="$2" # overwrite a potentially existing GHDL environment variable shift # skip argument ;; - --source) + --src|--source) SrcDir="$2" shift # skip argument ;; - --output) + --out|--output) DestDir="$2" shift # skip argument ;; @@ -179,9 +179,9 @@ if [[ $COMMAND -le 1 ]]; then echo " -H --halt-on-error Halt on error(s)." echo "" echo "Advanced options:" - echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" - echo " --output Name of the output directory, e.g. intel" - echo " --source Path to the sources." + echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" + echo " --output Name of the output directory, e.g. intel" + echo " --source Path to the sources." echo "" echo "Verbosity:" echo " -v --verbose Print verbose messages." diff --git a/scripts/vendors/compile-lattice.sh b/scripts/vendors/compile-lattice.sh index a7cdfd7c3..2c42e2200 100755 --- a/scripts/vendors/compile-lattice.sh +++ b/scripts/vendors/compile-lattice.sh @@ -100,11 +100,11 @@ while [[ $# -gt 0 ]]; do GHDL="$2" # overwrite a potentially existing GHDL environment variable shift # skip argument ;; - --source) + --src|--source) SrcDir="$2" shift # skip argument ;; - --output) + --out|--output) DestDir="$2" shift # skip argument ;; @@ -163,9 +163,9 @@ if [[ $COMMAND -le 1 ]]; then echo " -H --halt-on-error Halt on error(s)." echo "" echo "Advanced options:" - echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" - echo " --output Name of the output directory, e.g. lattice" - echo " --source Path to the sources." + echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" + echo " --output Name of the output directory, e.g. lattice" + echo " --source Path to the sources." echo "" echo "Verbosity:" echo " -v --verbose Print verbose messages." diff --git a/scripts/vendors/compile-osvvm.sh b/scripts/vendors/compile-osvvm.sh index dbdf7c70b..34b5f2dd4 100755 --- a/scripts/vendors/compile-osvvm.sh +++ b/scripts/vendors/compile-osvvm.sh @@ -89,11 +89,11 @@ while [[ $# -gt 0 ]]; do GHDL="$2" # overwrite a potentially existing GHDL environment variable shift # skip argument ;; - --source) + --src|--source) SrcDir="$2" shift # skip argument ;; - --output) + --out|--output) DestDir="$2" shift # skip argument ;; @@ -138,9 +138,9 @@ if [[ $COMMAND -le 1 ]]; then echo " -H --halt-on-error Halt on error(s)." echo "" echo "Advanced options:" - echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" - echo " --output Name of the output directory, e.g. osvvm" - echo " --source Path to the sources." + echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" + echo " --output Name of the output directory, e.g. osvvm" + echo " --source Path to the sources." echo "" echo "Verbosity:" echo " -v --verbose Print verbose messages." diff --git a/scripts/vendors/compile-uvvm.sh b/scripts/vendors/compile-uvvm.sh index e7a85a459..12db0ec28 100755 --- a/scripts/vendors/compile-uvvm.sh +++ b/scripts/vendors/compile-uvvm.sh @@ -194,11 +194,11 @@ while [[ $# -gt 0 ]]; do GHDL="$2" # overwrite a potentially existing GHDL environment variable shift # skip argument ;; - --source) + --src|--source) SrcDir="$2" shift # skip argument ;; - --output) + --out|--output) DestDir="$2" shift # skip argument ;; @@ -260,12 +260,12 @@ if [[ $COMMAND -le 1 ]]; then echo " --uvvm-vip-uart Universal Asynchronous Receiver Transmitter (UART)" echo "" echo "Library compile options:" - echo " -H --halt-on-error Halt on error(s)." + echo " -H --halt-on-error Halt on error(s)." echo "" echo "Advanced options:" - echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" - echo " --output Name of the output directory, e.g. uvvm_util" - echo " --source Path to the sources." + echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" + echo " --output Name of the output directory, e.g. uvvm_util" + echo " --source Path to the sources." echo "" echo "Verbosity:" echo " -v --verbose Print verbose messages." diff --git a/scripts/vendors/compile-xilinx-ise.sh b/scripts/vendors/compile-xilinx-ise.sh index 5ac581b28..2e3cc3355 100755 --- a/scripts/vendors/compile-xilinx-ise.sh +++ b/scripts/vendors/compile-xilinx-ise.sh @@ -121,11 +121,11 @@ while [[ $# -gt 0 ]]; do GHDL="$2" # overwrite a potentially existing GHDL environment variable shift # skip argument ;; - --source) + -src|--source) SrcDir="$2" shift # skip argument ;; - --output) + -out|--output) DestDir="$2" shift # skip argument ;; @@ -173,9 +173,9 @@ if [[ $COMMAND -le 1 ]]; then echo " -H --halt-on-error Halt on error(s)." echo "" echo "Advanced options:" - echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" - echo " --output Name of the output directory, e.g. ise" - echo " --source Path to the sources." + echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" + echo " --output Name of the output directory, e.g. ise" + echo " --source Path to the sources." echo "" echo "Verbosity:" echo " -v --verbose Print verbose messages." diff --git a/scripts/vendors/compile-xilinx-vivado.sh b/scripts/vendors/compile-xilinx-vivado.sh index 203a5c35f..050f0ab4a 100755 --- a/scripts/vendors/compile-xilinx-vivado.sh +++ b/scripts/vendors/compile-xilinx-vivado.sh @@ -116,11 +116,11 @@ while [[ $# -gt 0 ]]; do GHDL="$2" # overwrite a potentially existing GHDL environment variable shift # skip argument ;; - --source) + --src|--source) SrcDir="$2" shift # skip argument ;; - --output) + --out|--output) DestDir="$2" shift # skip argument ;; @@ -167,9 +167,9 @@ if [[ $COMMAND -le 1 ]]; then echo " -H --halt-on-error Halt on error(s)." echo "" echo "Advanced options:" - echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" - echo " --output Name of the output directory, e.g. vivado" - echo " --source Path to the sources." + echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" + echo " --output Name of the output directory, e.g. vivado" + echo " --source Path to the sources." echo "" echo "Verbosity:" echo " -v --verbose Print verbose messages." -- cgit v1.2.3