diff options
author | Patrick Ziegler <patrick.ziegler@fh-kl.de> | 2013-05-28 23:41:19 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-05-31 22:05:44 +0200 |
commit | 74ae7af927da3e807e1e3b9a68a4bb1fed5243bb (patch) | |
tree | 2b7268f8f180b616b7653c56311577154c86aacb /Config.in.legacy | |
parent | 14470b325935ee8a0ef8b73b33827ab633c1366f (diff) | |
download | buildroot-novena-74ae7af927da3e807e1e3b9a68a4bb1fed5243bb.tar.gz buildroot-novena-74ae7af927da3e807e1e3b9a68a4bb1fed5243bb.zip |
ext-toolchain-wrapper: fix paths if executable was resolved by PATH
If ext-toolchain-wrapper or any symbolic link to it was resolved by PATH,
the wrapper takes the working directory to calculate the relative paths.
Now '/proc/self/exe' is used to resolve the absolute path to the toolchain
directory if the wrapper was called neither with a relative nor an absolute
path.
[Peter: fix off-by-one, swap value == var checks around]
Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'Config.in.legacy')
0 files changed, 0 insertions, 0 deletions