mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-09-07 14:24:25 +00:00
Add the mkversion bat and ps1 implementation to the Windows platform compilation. Make armlib a static library so that bootrom and armsrc can be reused.
20 lines
468 B
Batchfile
20 lines
468 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
:: Power by DXL
|
|
:: The mkversion.ps1 wrapper. why not mkversion.bat implement all function?
|
|
:: > Not good idea to call sha256 for arm src, so you known..
|
|
|
|
:: Did not output localization
|
|
set LC_ALL=C
|
|
set LANG=C
|
|
|
|
:: Where are this script?
|
|
set "SCRIPT_DIR=%~dp0"
|
|
|
|
:: Call PowerShell script, and send params
|
|
powershell -ExecutionPolicy Bypass -File "%SCRIPT_DIR%mkversion.ps1" %*
|
|
|
|
if %ERRORLEVEL% NEQ 0 (
|
|
exit /b %ERRORLEVEL%
|
|
) |