summaryrefslogtreecommitdiff
path: root/zephyr-env.sh
AgeCommit message (Collapse)Author
2016-10-15win-build: corrects scripts_path for windows build.Sonia Leon Bautista
Corrects the format for scripts_path from C:/ to /c/ to be added to PATH correctly. Change-Id: I2668dff2b9b6f20a25651f629c7a134e9426ee97 Signed-off-by: Sonia Leon Bautista <sonia.leon.bautista@intel.com>
2016-08-05zephyr-env.sh: prepend to PATHAndrew Boie
Currently, if you source this in one Zephyr tree and then source it again in a second copy, the PATH will still prefer tools and scripts the first Zephyr tree. Change-Id: I658231025b155d19a2bffa25b8062be7ccd06da4 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-03-18zephyr-env.sh: Add a note to indicate the required version of zshd0u9
For zsh users, to successfully source this environment set up script, the version of zsh need to be 5.0.6 or above. Users can download the newest zsh at http://zsh.sourceforge.net/Arc/source.html, and then install it manually. Change-Id: I1877b4030cf8688bce6b2483c302f957f4a5506f Signed-off-by: d0u9 <d0u9.su@outlook.com>
2016-03-03zephyr-env.sh: Set correctly $ZEPHYR_BASE in zshYannis Damigos
Sourcing project environment file failed to set correctly $ZEPHYR_BASE in zsh if it was sourced from another directory (e.g. home directory). This patch fixes this issue. It was tested on zsh, bash and sh on Linux. It needs to be tested on OS X. Change-Id: Idfb11c6a3109042a9f578f38b3849d9cf9c31f95 Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
2016-03-02zephyr-env.sh: Fixed sourcing the project environment fileYannis Damigos
In zsh the value of $0 depends on the FUNCTION_ARGZERO option which is set by default. FUNCTION_ARGZERO, when it is set, sets $0 temporarily to the name of the function/script when executing a shell function or sourcing a script. POSIX_ARGZERO option, when it is set, exposes the original value of $0 in spite of the current FUNCTION_ARGZERO setting. This patch allows to source the project environment file from both zsh and bash. It also removes the -z option from the basename command which is missing in OS X. Change-Id: I5a32404784d9064bf749fa58b4d73d4b56c908c2 Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
2016-03-01add missing license to zephyr-env.shBenjamin Walsh
Change-Id: I0a43e634534ee1cb43c6ad2dc966d9ee20e0b9e5 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-02-27zephyr-env.sh: Fixed sourcing the project environment file from zshYannis Damigos
It will possible to source the project environment file from both zsh and bash. Change-Id: Ib6cbf4259378433bcf28a042898b69bb4b6b2a82 Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
2016-02-17Use .zephyrrc for initializing common variablesAnas Nashif
The file can be used to define variables used by the SDK to avoid having to define them everytime a session is started. The old file names ~/zephyr-env_install.bash will still work but it will warn about the file being renamed. We do not want to break users who have ~/zephyr-env_install.bash in their home and depend on it. Change-Id: I04fcaa76854bda3dcfc1cabe75e00e95c511b10d Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-02-12build: changes order in which paths are added to $PATHJuan Manuel Cruz
MinGW expects to have new program locations added to the end of the PATH variable. Change-Id: Ifd31b63c9ef39a7f2b416ffef39461290c822dd7 Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@intel.com> Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
2016-02-05mingw: Use windows path style when building with MinGWLouise Mendoza
When building with MinGW the base path has to be with the windows style format path. Change-Id: I67c116c424e6ad70cc0e1a4fc1620361eaabbb82 Signed-off-by: Louise Mendoza <yonattan.a.louise.mendoza@intel.com> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-02-05Make zephyr-env.sh work when cd is aliasedMatthew Braun
Force the zephyr-env.sh script to invoke the builtin 'cd' command so that the script correctly assigns ZEPHYR_BASE, even for users who alias the 'cd' command. Aliasing 'cd' to emit a string before changing the directory is one way of putting the current working directory in the title of a terminal window. If the user's alias is executed in zephyr-env.sh, the output of 'cd' pollutes ZEPHYR_BASE, resulting in value which won't build. Signed-off-by: Matt Braun <matthew.braun@intel.com> Change-Id: I8d7810d1a44ec14102d07bf35610b47d06ac1015
2016-02-05Rename Zephyr OS into Zephyr KernelAnas Nashif
We are a kernel, not an OS. Change-Id: Ib987e3e511e1bdbed6293ab5e15e598bff00b09b Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-02-05env: fix check for sourcing vs running zephyr-env.shBenjamin Walsh
File name had wrong extension. Change-Id: I9b8f57d21b2a497bf53e159a62dfee24a4c5de21 Reported-by: Rick Demers <richard.demers@windriver.com> Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-02-05Rename timo-env.sh to zephyr-env.shAnas Nashif
Change-Id: I50dfa427f87c1f2a90facf54ef3b58cd4c47a0ec Signed-off-by: Anas Nashif <anas.nashif@intel.com>