OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.74/] [tools/] [bin/] [xtwv] - Diff between revs 29 and 35

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 29 Rev 35
Line 1... Line 1...
#!/bin/bash
#!/bin/bash
# $Id: xtwv 641 2015-02-01 22:12:15Z mueller $
# $Id: xtwv 735 2016-02-26 22:17:42Z mueller $
#
#
# Copyright 2013- by Walter F.J. Mueller 
# Copyright 2013-2016 by Walter F.J. Mueller 
# License disclaimer see LICENSE_gpl_v2.txt in $RETROBASE directory
# License disclaimer see LICENSE_gpl_v2.txt in $RETROBASE directory
#
#
# Xilinx Tool Wrapper script for Vivado
# Xilinx Tool Wrapper script for Vivado
#   define XTWV_PATH
#   define XTWV_PATH
#   usage  xwtv 
#   usage  xwtv 
#
#
#  Revision History:
#  Revision History:
# Date         Rev Version  Comment
# Date         Rev Version  Comment
 
# 2016-02-21   735   1.1    use BARE_PATH ect to provide clean environment
# 2014-04-18   554   1.0.1  fake XILINX_VIVADO, 2014.1 doesn't define it anymore
# 2014-04-18   554   1.0.1  fake XILINX_VIVADO, 2014.1 doesn't define it anymore
# 2013-10-12   539   1.0    Initial version (cloned from xtwi)
# 2013-10-12   539   1.0    Initial version (cloned from xtwi)
#
#
# Note: For Xilinx Vivado installations with an install path  holds
# Note: For Xilinx Vivado installations with an install path  holds
#                dir with settings(32|64).sh
#                dir with settings(32|64).sh
Line 29... Line 30...
  then
  then
    echo "XTWV_PATH not defined"
    echo "XTWV_PATH not defined"
    exit 1
    exit 1
  fi
  fi
 
 
 
  # provide clean environment when BARE_PATH ect defined
 
  #   add only $RETROBASE/tools/bin to path
 
  if [ -n "$BARE_PATH" ]
 
  then
 
    export PATH=$BARE_PATH:$RETROBASE/tools/bin
 
    unset LD_LIBRARY_PATH
 
    if [ -n "$BARE_LD_LIBRARY_PATH" ]
 
    then
 
      export LD_LIBRARY_PATH=$BARE_LD_LIBRARY_PATH
 
    fi
 
  fi
 
 
  # check whether 32 or 64 bit system (uname -m gives 'i686' or 'x86_64')
  # check whether 32 or 64 bit system (uname -m gives 'i686' or 'x86_64')
  if [ `uname -m` = "x86_64" ]
  if [ `uname -m` = "x86_64" ]
  then
  then
    settings_filename=$XTWV_PATH/settings64.sh
    settings_filename=$XTWV_PATH/settings64.sh
  else
  else

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.