diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2015-02-25 14:24:28 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@windriver.com> | 2016-02-01 16:59:08 -0600 |
commit | 35704684c8fda92ca7d909ed9f33db8d7daf4d26 (patch) | |
tree | ce85be4997f384016e8295188b1e19a5147ff9e1 | |
parent | 9e9f8b01736c00bb061ec56404956fbb4dedef6a (diff) |
toolchain-scripts-mingw32: Use short paths (8.3)
When using standard paths, the user may end up exceeding the path length to
some toolchain helper libraries (DLLs) and binaries.
By switching to using the "short path", we can avoid this in many more cases.
If the user does exceed the path length, their only option will be to move
the SDK lower in their directory tree.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
-rw-r--r-- | classes/toolchain-scripts-mingw32.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/toolchain-scripts-mingw32.bbclass b/classes/toolchain-scripts-mingw32.bbclass index 5ac69a1..0353875 100644 --- a/classes/toolchain-scripts-mingw32.bbclass +++ b/classes/toolchain-scripts-mingw32.bbclass @@ -10,7 +10,8 @@ toolchain_create_sdk_env_script_sdkmingw32 () { script=${1:-${SDK_OUTPUT}/${SDKPATH}/environment-setup-$multimach_target_sys}.bat rm -f $script touch $script - echo 'set SDKROOT=%~dp0%' >> $script + # Be sure to use the 'short' path, so we can have deeper directories. + echo 'set SDKROOT=%~sdp0%' >> $script echo 'set SDKTARGETSYSROOT=%SDKROOT%'"$sysroot" >> $script EXTRAPATH="" for i in ${CANADIANEXTRAOS}; do |