86 lines
2.1 KiB
Batchfile
86 lines
2.1 KiB
Batchfile
echo off
|
|
set OEM=""
|
|
set NOV=""
|
|
|
|
if "%1"=="hw" (
|
|
set OEM=%1
|
|
) else if "%1"=="lsc" (
|
|
set OEM=%1
|
|
) else if "%1"=="cts" (
|
|
set OEM=%1
|
|
)else if "%2"=="hw" (
|
|
set OEM=%2
|
|
) else if "%2"=="lsc" (
|
|
set OEM=%2
|
|
) else if "%2"=="cts" (
|
|
set OEM=%2
|
|
)else if "%3"=="hw" (
|
|
set OEM=%3
|
|
) else if "%3"=="lsc" (
|
|
set OEM=%3
|
|
) else if "%3"=="cts" (
|
|
set OEM=%3
|
|
)
|
|
if "%1"=="nov" (
|
|
set NOV=%1
|
|
) else if "%2"=="nov" (
|
|
set NOV=%2
|
|
) else if "%3"=="nov" (
|
|
set NOV=%3
|
|
)
|
|
echo oem=%OEM%
|
|
if "%CPU%"=="" (
|
|
set CPU=x86
|
|
)
|
|
|
|
echo build -cpu %CPU% -oem %OEM% %NOV%
|
|
|
|
set CPU=x64
|
|
if "%OEM%"=="hw" (
|
|
build.bat %OEM% x64 0x1000 %NOV%
|
|
build.bat %OEM% x64 onlytwain 0x1002 nov
|
|
build.bat %OEM% x64 onlytwain 0x7000 nov
|
|
build.bat %OEM% x64 onlytwain 0x7002 nov
|
|
build.bat %OEM% x64 onlytwain 0x7039 nov
|
|
build.bat %OEM% x64 onlytwain 0x8000 nov
|
|
build.bat %OEM% x64 onlytwain 0x9000 nov
|
|
set CPU=x86
|
|
build.bat %OEM% x86 0x1000 nov
|
|
build.bat %OEM% x86 onlytwain 0x1002 nov
|
|
build.bat %OEM% x86 onlytwain 0x7000 nov
|
|
build.bat %OEM% x86 onlytwain 0x7002 nov
|
|
build.bat %OEM% x86 onlytwain 0x7039 nov
|
|
build.bat %OEM% x86 onlytwain 0x8000 nov
|
|
build.bat %OEM% x86 onlytwain 0x9000 nov
|
|
) else if "%OEM%" == "lsc" (
|
|
build.bat %OEM% x64 0x8420 %NOV%
|
|
build.bat %OEM% x64 onlytwain 0x8520 nov
|
|
build.bat %OEM% x64 onlytwain 0x8620 nov
|
|
build.bat %OEM% x64 onlytwain 0x8730 nov
|
|
set CPU=x86
|
|
build.bat %OEM% x86 0x8420 nov
|
|
build.bat %OEM% x86 onlytwain 0x8520 nov
|
|
build.bat %OEM% x86 onlytwain 0x8620 nov
|
|
build.bat %OEM% x86 onlytwain 0x8730 nov
|
|
) else if "%OEM%" == "cts" (
|
|
build.bat %OEM% x64 0x0303 %NOV%
|
|
build.bat %OEM% x64 onlytwain 0x0404 nov
|
|
build.bat %OEM% x64 onlytwain 0x0238 nov
|
|
build.bat %OEM% x64 onlytwain 0x0138 nov
|
|
set CPU=x86
|
|
build.bat %OEM% x86 0x0303 nov
|
|
build.bat %OEM% x86 onlytwain 0x0404 nov
|
|
build.bat %OEM% x86 onlytwain 0x0238 nov
|
|
build.bat %OEM% x86 onlytwain 0x0138 nov
|
|
)else (
|
|
build.bat x64 0x100 %NOV%
|
|
build.bat x64 onlytwain 0x200 nov
|
|
build.bat x64 onlytwain 0x300 nov
|
|
build.bat x64 onlytwain 0x400 nov
|
|
set CPU=x86
|
|
build.bat x86 0x100 nov
|
|
build.bat x86 onlytwain 0x200 nov
|
|
build.bat x86 onlytwain 0x300 nov
|
|
build.bat x86 onlytwain 0x400 nov
|
|
)
|