Changeset 3647 in kBuild
- Timestamp:
- Nov 3, 2024 2:33:51 AM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/envwin.cmd
r3113 r3647 6 6 7 7 REM 8 REM Copyright (c) 2005-20 10knut st. osmundsen <[email protected]>8 REM Copyright (c) 2005-2024 knut st. osmundsen <[email protected]> 9 9 REM 10 10 REM This file is part of kBuild. … … 452 452 if ".%KBUILD_HOST_CPU%" == ".k10" set _KBUILD_HOST_ARCH=amd64 453 453 if not ".%_KBUILD_HOST_ARCH%" == "." goto have_host_arch 454 REM try guess from PROCESSOR_ARCHITEW6432 and PROCESSOR_ARCHITECTURE 454 REM try guess from PROCESSOR_ARCHITECTURE, PROCESSOR_ARCHITEW6432, and 455 REM PROCESSOR_IDENTIFIER (latter for arm running non-native shells (tcc.exe)). 455 456 set _KBUILD_TMP=%PROCESSOR_ARCHITECTURE% 456 457 if not ".%PROCESSOR_ARCHITEW6432%" == "." set _KBUILD_TMP=%PROCESSOR_ARCHITEW6432% … … 462 463 if "%_KBUILD_TMP%" == "x64" set _KBUILD_HOST_ARCH=amd64 463 464 if "%_KBUILD_TMP%" == "X64" set _KBUILD_HOST_ARCH=amd64 465 if /i "%PROCESSOR_IDENTIFIER:~0,5%" == "ARMv8" set _KBUILD_HOST_ARCH=arm64 466 if /i "%PROCESSOR_IDENTIFIER:~0,5%" == "ARMv9" set _KBUILD_HOST_ARCH=arm64 464 467 if not ".%_KBUILD_HOST_ARCH%" == "." goto have_host_arch 465 468 echo error: Cannot figure KBUILD_HOST_ARCH!
Note:
See TracChangeset
for help on using the changeset viewer.