zephyr/timo-env.sh
Anas Nashif a2bb402876 Do not set path for host tools
This is not needed now with kbuild.

Change-Id: I9aabb4d09b982d65645a93717364f2e92c9671e7
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-02-05 20:14:12 -05:00

23 lines
750 B
Bash

if [ "X$(basename -- "$0")" == "Xtimo-env.bash" ]; then
echo "Source this file (do NOT execute it!) to set the VxMicro environment."
exit
fi
# You can further customize your environment by creating a bash script called
# timo-env_install.bash in your home directory. It will be automatically
# run (if it exists) by this script.
# identify OS source tree root directory
export TIMO_BASE=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
scripts_path=${TIMO_BASE}/scripts
echo "${PATH}" | grep -q "${scripts_path}"
[ $? != 0 ] && export PATH=${scripts_path}:${PATH}
unset scripts_path
# enable custom environment settings
timo_answer_file=~/timo-env_install.bash
[ -f ${timo_answer_file} ] && . ${timo_answer_file}
unset timo_answer_file