Rename timo-env.sh to zephyr-env.sh
Change-Id: I50dfa427f87c1f2a90facf54ef3b58cd4c47a0ec Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
652309470c
commit
e2ae670982
1 changed files with 0 additions and 0 deletions
22
zephyr-env.sh
Normal file
22
zephyr-env.sh
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
if [ "X$(basename -- "$0")" == "Xzephyr-env.bash" ]; then
|
||||
echo "Source this file (do NOT execute it!) to set the Zephyr OS environment."
|
||||
exit
|
||||
fi
|
||||
|
||||
# You can further customize your environment by creating a bash script called
|
||||
# zephyr-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 ZEPHYR_BASE=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
|
||||
scripts_path=${ZEPHYR_BASE}/scripts
|
||||
echo "${PATH}" | grep -q "${scripts_path}"
|
||||
[ $? != 0 ] && export PATH=${scripts_path}:${PATH}
|
||||
unset scripts_path
|
||||
|
||||
# enable custom environment settings
|
||||
zephyr_answer_file=~/zephyr-env_install.bash
|
||||
[ -f ${zephyr_answer_file} ] && . ${zephyr_answer_file}
|
||||
unset zephyr_answer_file
|
Loading…
Add table
Add a link
Reference in a new issue