]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Handle tool paths containing '~' correctly
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2020 14:45:02 +0000 (07:45 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 30 Nov 2020 20:14:43 +0000 (13:14 -0700)
commitf31e83d6cf44fccd25be48b67dd69aaff6c5e1f4
treea9581b54efbf7749370fcf7a6bd9ff863a98e43b
parent0719bf42931033c3109ecc6357e8adb567cb637b
binman: Handle tool paths containing '~' correctly

At present if CROSS_COMPILE contains a tilde, such as
~/.buildman-toolchains/gcc-7.3.0-nolibc/i386-linux/bin/i386-linux-gcc
then binman gives a confusing error:

   binman: Error 255 running '~/..buildman-toolchains/gcc-7.3.0- ...

Fix this by expanding it out before running the tool.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/tools.py