diff options
author | Arnout Vandecappelle <arnout@mind.be> | 2017-07-07 09:43:30 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-07 09:57:14 +0200 |
commit | 015d68c84c9c6ad6f6d41f181d19d813f309088b (patch) | |
tree | 20d7e6b966de3f3ce272d4081ef6ca009f92f685 /docs/manual/adding-packages-python.txt | |
parent | 5c44c6b24d3d220c4e18600abcebdc5dfa26cdf1 (diff) | |
download | buildroot-015d68c84c9c6ad6f6d41f181d19d813f309088b.tar.gz buildroot-015d68c84c9c6ad6f6d41f181d19d813f309088b.zip |
toolchain-wrapper: fix breakage after host/usr removal
The toolchain wrapper, when called through PATH, strips the last three
levels of /proc/self/exe to find HOST_DIR. However, after the host/usr
removal, this should be just two levels.
The toolchain wrapper has different logic for when it is called with a
full path (i.e. $HOST_DIR/usr/bin/arm-linux-gcc) then when it is called
through the PATH (i.e. just arm-linux-gcc). The latter is never used
internally in Buildroot, that's why this wasn't discovered through
testing.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Mark Jackson <mpfj-list@newflow.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual/adding-packages-python.txt')
0 files changed, 0 insertions, 0 deletions