aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/vendors/compile-osvvm.ps1
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@tu-dresden.de>2016-10-27 23:09:05 +0200
committerPatrick Lehmann <Patrick.Lehmann@tu-dresden.de>2016-10-28 02:39:09 +0200
commit4d68bc3139f3fe6d6642b1d2df4bf9bf63711477 (patch)
tree7f8d913183de6a3b1946b5048fc5602765857355 /libraries/vendors/compile-osvvm.ps1
parentde1c213c36101c80f961f2ba24d4188646de8cb5 (diff)
downloadghdl-4d68bc3139f3fe6d6642b1d2df4bf9bf63711477.tar.gz
ghdl-4d68bc3139f3fe6d6642b1d2df4bf9bf63711477.tar.bz2
ghdl-4d68bc3139f3fe6d6642b1d2df4bf9bf63711477.zip
VendorLib: Added switch to compile XilinxCoreLib for ISE. Adjusted behavior between PowerShell and Bash scripts. Updated embedded help pages.
Diffstat (limited to 'libraries/vendors/compile-osvvm.ps1')
-rw-r--r--libraries/vendors/compile-osvvm.ps110
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/vendors/compile-osvvm.ps1 b/libraries/vendors/compile-osvvm.ps1
index e732d87ff..3d4a1b28d 100644
--- a/libraries/vendors/compile-osvvm.ps1
+++ b/libraries/vendors/compile-osvvm.ps1
@@ -14,7 +14,7 @@
# - compiles all OSVVM packages
#
# ==============================================================================
-# Copyright (C) 2015-2016 Patrick Lehmann
+# Copyright (C) 2015-2016 Patrick Lehmann - Dresden, Germany
#
# GHDL is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
@@ -72,11 +72,11 @@ param(
$WorkingDir = Get-Location
# load modules from GHDL's 'vendors' library directory
-Import-Module $PSScriptRoot\config.psm1 -Verbose:$false -ArgumentList "OSVVM"
-Import-Module $PSScriptRoot\shared.psm1 -Verbose:$false -ArgumentList @("OSVVM", "$WorkingDir")
+Import-Module $PSScriptRoot\config.psm1 -Verbose:$false -Debug:$false -ArgumentList "OSVVM"
+Import-Module $PSScriptRoot\shared.psm1 -Verbose:$false -Debug:$false -ArgumentList @("OSVVM", "$WorkingDir")
# Display help if no command was selected
-$Help = $Help -or (-not ($All -or $OSVVM))
+$Help = $Help -or (-not ($All -or $OSVVM -or $Clean))
if ($Help)
{ Get-Help $MYINVOCATION.InvocationName -Detailed
@@ -109,7 +109,7 @@ $ErrorCount = 0
# Cleanup directories
# ==============================================================================
if ($Clean)
-{ Write-Host "[ERROR]: '-Clean' is not implemented!"
+{ Write-Host "[ERROR]: '-Clean' is not implemented!" -ForegroundColor Red
Exit-CompileScript -1
Write-Host "Cleaning up vendor directory ..." -ForegroundColor Yellow