diff --git a/core/src/overture/make.bat b/core/src/overture/make.bat index 253cf9e3..eafdcd4e 100644 --- a/core/src/overture/make.bat +++ b/core/src/overture/make.bat @@ -30,18 +30,6 @@ MKDIR %TARGET%\arm64-v8a>nul 2>nul SET CC=%ANDROID_ARM_TOOLCHAIN%\bin\arm-linux-androideabi-gcc.exe -REM Check environment availability -IF NOT EXIST %CC% ( - ECHO "gcc not found" - EXIT 1 -) - -WHERE python.exe -IF "%ERRORLEVEL%" == 1 ( - ECHO "python not found" - EXIT 1 -) - IF NOT EXIST %ANDROID_ARM_CC% ( ECHO "Make standalone toolchain for ARM arch" python.exe %ANDROID_NDK_HOME%\build\tools\make_standalone_toolchain.py --arch arm ^ @@ -60,6 +48,18 @@ IF NOT EXIST %ANDROID_X86_CC% ( --api %MIN_API% --install-dir %ANDROID_X86_TOOLCHAIN% ) +REM Check environment availability +IF NOT EXIST %CC% ( + ECHO "gcc not found" + EXIT 1 +) + +WHERE python.exe +IF "%ERRORLEVEL%" == 1 ( + ECHO "python not found" + EXIT 1 +) + IF NOT EXIST %DIR%\go\bin\go.exe ( ECHO "Build the custom go"