Changeset 88 for trunk/environment.sh


Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (16 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/environment.sh

    r82 r88  
    2626# Export environement
    2727export MORPHEO_TOPLEVEL=${PWD}
    28 #export MORPHEO_PLATFORMS=${MORPHEO_TOPLEVEL}/Platforms
    29 #export MORPHEO_SOFTWARE=${MORPHEO_TOPLEVEL}/Softwares
    30 #export MORPHEO_IPS=${MORPHEO_TOPLEVEL}/IPs/systemC
    3128export MORPHEO_SCRIPT=${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/Script
    32 export MORPHEO_HOME=${HOME}/.morpheo
     29export MORPHEO_HOME=${HOME}/.Morpheo
     30export MORPHEO_TMP=/tmp/Morpheo
     31       MORPHEO_XTTY=${MORPHEO_TOPLEVEL}/IPs/systemC/Environment/TTY/xtty
    3332
    3433echo ""
    35 echo "OS found : $OS_FOUND"
     34echo "OS found : ${OS_FOUND}"
    3635echo ""
    37 echo "Modification of environement's variable : "
    38 echo " - MORPHEO_TOPLEVEL    is set to ${MORPHEO_TOPLEVEL} "
    39 #echo " - MORPHEO_PLATFORMS   is set to ${MORPHEO_PLATFORMS}"
    40 #echo " - MORPHEO_SOFTWARE    is set to ${MORPHEO_SOFTWARE} "
    41 #echo " - MORPHEO_IPS         is set to ${MORPHEO_IPS}      "
    42 echo " - MORPHEO_SCRIPT      is set to ${MORPHEO_SCRIPT}   "
    43 echo " - MORPHEO_HOME        is set to ${MORPHEO_HOME}     "
     36echo "Modification of environement's variable :"
     37echo " - MORPHEO_TOPLEVEL is set to ${MORPHEO_TOPLEVEL}"
     38echo " - MORPHEO_SCRIPT   is set to ${MORPHEO_SCRIPT}"
     39echo " - MORPHEO_HOME     is set to ${MORPHEO_HOME}"
     40echo " - MORPHEO_TMP      is set to ${MORPHEO_TMP}"
    4441
     42#----------
     43# Path : add xtty and script directory.
     44#        test if already in path : no multiple addition
     45#----------
    4546
    46 # PATH : No multiple add
    4747echo ${PATH} |grep -q ${MORPHEO_SCRIPT};
    48 
    4948if test $? -eq 1; then
    5049    export  PATH=${PATH}:${MORPHEO_SCRIPT}
    51     echo " - PATH                add       ${MORPHEO_SCRIPT}   "
     50    echo " - PATH             add       ${MORPHEO_SCRIPT}"
    5251fi;
    53 
    54 MORPHEO_XTTY=${MORPHEO_TOPLEVEL}/IPs/systemC/Environment/TTY/xtty
    5552
    5653echo ${PATH} |grep -q ${MORPHEO_XTTY};
     
    5855if test $? -eq 1; then
    5956    export  PATH=${PATH}:${MORPHEO_XTTY}
    60     echo " - PATH                add       ${MORPHEO_XTTY}   "
    61 fi;
    62 
    63 
    64 # test if "first run"
    65 if test ! -d ${MORPHEO_HOME}; then
    66     echo " - MORPHEO_HOME        don't exist : first run       "
    67     . ${MORPHEO_SCRIPT}/first_run.sh
     57    echo " - PATH             add       ${MORPHEO_XTTY}"
    6858fi;
    6959
Note: See TracChangeset for help on using the changeset viewer.