forked from CloverHackyColor/CloverBootloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildmc.bat
84 lines (71 loc) · 1.98 KB
/
buildmc.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
@echo off
rem # cbuild wrapper
rem # 2019 cecekpawon
set "CURRENT_DIR=%~dp0"
cd /D "%CURRENT_DIR%"
rem # direct set all required vars here, or pass it as script args, "cbuild -h" for helps
rem # cbuild should contain all default value sets as fallback
rem # todo: more desc / comment on each arg
::
:: SCRIPT
::
set EDK_SHELL_BIN_MODE=
set GEN_PAGE=0
set NO_BOOTLOADERS=1
set NO_BOOTSECTORS=1
set NO_COPY_BIN=1
set REVISION=0000
::
:: PATH
::
set "CUSTOM_CONF_PATH="
set "CYGWIN_HOME=c:\cygwin"
set "IASL_PREFIX=c:\ASL\"
rem set "NASM_PREFIX=%CYGWIN_HOME%\bin\"
set "PACKAGES_PATH="
rem set "PYTHONHOME=c:\Python3"
set "PYTHONHOME=d:\Program File\Python37"
rem set "PYTHON_FREEZER_PATH=%PYTHONHOME%\Scripts"
set "WORKSPACE="
::
:: EDK SETUP
::
set BUILD_IA32=
set BUILD_TARGET=RELEASE
set BUILD_X64=
set DSC_FILE=
set THREAD_NUMBER=%NUMBER_OF_PROCESSORS%
rem set TOOLCHAIN=VS2015x86
set TOOLCHAIN=VS2017
::
:: MACROS
::
set AMD_SUPPORT=1
set ANDX86=1
set DEBUG_ON_SERIAL_PORT=0
set DISABLE_LTO=0
set DISABLE_UDMA_SUPPORT=0
set DISABLE_USB_CONTROLLERS=0
set DISABLE_USB_SUPPORT=0
set ENABLE_PS2MOUSE_LEGACYBOOT=0
set ENABLE_SECURE_BOOT=0
set ENABLE_VBIOS_PATCH_CLOVEREFI=0
set EXIT_USBKB=0
set HAVE_LEGACY_EMURUNTIMEDXE=0
set INCLUDE_DP=0
set INCLUDE_TFTP_COMMAND=0
set LODEPNG=1
set NO_CLOVER_SHELL=0
set NO_SHELL_PROFILES=0
set ONLY_SATA_0=0
set OPENSSL_VERSION=
set REAL_NVRAM=1
set SKIP_FLASH=0
set USE_BIOS_BLOCKIO=0
set USE_LOW_EBDA=0
rem -D AMD_SUPPORT -D ANDX86 -D DEBUG_ON_SERIAL_PORT -D DISABLE_LTO -D DISABLE_UDMA_SUPPORT
rem -D DISABLE_USB_CONTROLLERS -D DISABLE_USB_SUPPORT -D ENABLE_PS2MOUSE_LEGACYBOOT -D ENABLE_SECURE_BOOT
rem -D ENABLE_VBIOS_PATCH_CLOVEREFI -D EXIT_USBKB -D HAVE_LEGACY_EMURUNTIMEDXE -D INCLUDE_DP -D INCLUDE_TFTP_COMMAND
rem -D NO_SHELL_PROFILES -D ONLY_SATA_0 -D REAL_NVRAM -D SKIP_FLASH -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -D NO_CLOVER_SHELL
call cbuild.bat -a X64 cleanall
rem call cbuild.bat -h