Read toolchain patches from the correct directory.
commit12735849886ca29fdefd187df82fddfda3cd37a9
authorMartin Sucha <sucha14@uniba.sk>
Sun, 8 Dec 2013 15:41:10 +0000 (8 16:41 +0100)
committerMartin Sucha <sucha14@uniba.sk>
Sun, 8 Dec 2013 15:41:10 +0000 (8 16:41 +0100)
tree57fc70a5e49668a02873b6dd6d140763ee7a7c36
parenta0ff94753b1225b538fead9ff23492769a6af2ac
Read toolchain patches from the correct directory.

When running toolchain.sh with current directory other than tools
subdirectory of the HelenOS sources, the script was unable to
correctly read toolchain patches, as it was trying to read them
from BASEDIR (i.e. the current working directory when running
the script).

This changeset explicitly uses path to the patches relative to
the location of the directory where the toolchain script resides
(the newly introduced SRCDIR variable).
tools/toolchain.sh