Changeset 79 for trunk/environment.sh
- Timestamp:
- Mar 27, 2008, 11:07:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/environment.sh
r59 r79 25 25 26 26 # Export environement 27 export 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 31 export MORPHEO_SCRIPT=${MORPHEO_IPS}/processor/Morpheo/Script 27 export 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 31 export MORPHEO_SCRIPT=${MORPHEO_IPS}/processor/Morpheo/Script 32 export MORPHEO_HOME=${HOME}/.morpheo 32 33 33 34 echo "" 34 echo "OS found : $ {OS_FOUND}"35 echo "OS found : $OS_FOUND" 35 36 echo "" 36 echo " * Modification of environement's variable : " 37 echo " - MORPHEO_TOPLEVEL is set to ${MORPHEO_TOPLEVEL} " 38 echo " - MORPHEO_PLATFORMS is set to ${MORPHEO_PLATFORMS}" 39 echo " - MORPHEO_SOFTWARE is set to ${MORPHEO_SOFTWARE} " 40 echo " - MORPHEO_IPS is set to ${MORPHEO_IPS} " 41 echo " - MORPHEO_SCRIPT is set to ${MORPHEO_SCRIPT} " 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} " 42 44 43 # No multiple add45 # PATH : No multiple add 44 46 echo ${PATH} |grep -q ${MORPHEO_SCRIPT}; 45 47 46 48 if test $? -eq 1; then 47 export PATH=${PATH}:${MORPHEO_SCRIPT} 48 echo " - PATH add ${MORPHEO_SCRIPT} " 49 export PATH=${PATH}:${MORPHEO_SCRIPT} 50 echo " - PATH add ${MORPHEO_SCRIPT} " 51 fi; 52 53 # test if "first run" 54 if test ! -d ${MORPHEO_HOME}; then 55 echo " - MORPHEO_HOME don't exist : first run " 56 . ${MORPHEO_SCRIPT}/first_run.sh 49 57 fi; 50 58
Note: See TracChangeset
for help on using the changeset viewer.