Fix setting custom path to .konan for Windows
This commit is contained in:
+2
-1
@@ -94,7 +94,8 @@ goto :eof
|
|||||||
:set_path
|
:set_path
|
||||||
rem libclang.dll is dynamically linked and thus requires correct PATH to be loaded.
|
rem libclang.dll is dynamically linked and thus requires correct PATH to be loaded.
|
||||||
rem TODO: remove this hack.
|
rem TODO: remove this hack.
|
||||||
set "PATH=%USERPROFILE%\.konan\dependencies\msys2-mingw-w64-x86_64-gcc-7.2.0-clang-llvm-5.0.0-windows-x86-64\bin;%PATH%"
|
if ("%KONAN_DATA_DIR%"=="") (set KONAN_DATA_DIR=%USERPROFILE%\.konan)
|
||||||
|
set "PATH=%KONAN_DATA_DIR%\dependencies\msys2-mingw-w64-x86_64-gcc-7.2.0-clang-llvm-5.0.0-windows-x86-64\bin;%PATH%"
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
:end
|
:end
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set ZEPHYR_BASE=%userprofile%\zephyr
|
|||||||
set TOOLCHAIN=gcc-arm-none-eabi-7-2017-q4-major-win32
|
set TOOLCHAIN=gcc-arm-none-eabi-7-2017-q4-major-win32
|
||||||
|
|
||||||
set DIR=%~dp0
|
set DIR=%~dp0
|
||||||
if "%KONAN_DATA_DIR%"=="" (set KONAN_DATA_DIR="%HOME%\.konan")
|
if "%KONAN_DATA_DIR%"=="" (set KONAN_DATA_DIR=%userprofile%\.konan)
|
||||||
set KONAN_DEPS=%KONAN_DATA_DIR%/dependencies
|
set KONAN_DEPS=%KONAN_DATA_DIR%/dependencies
|
||||||
set GCC_ARM=%KONAN_DEPS%/%TOOLCHAIN%
|
set GCC_ARM=%KONAN_DEPS%/%TOOLCHAIN%
|
||||||
set ZEPHYR_TOOLCHAIN_VARIANT=gccarmemb
|
set ZEPHYR_TOOLCHAIN_VARIANT=gccarmemb
|
||||||
|
|||||||
Reference in New Issue
Block a user