- This part is used for environment configuration of edk2 under windows and linux
- 1). Run
win_init.batwith administrator privileges incmd, only in the first time when you clone this repository
# set system path, download submodule and make build tool
win_init.bat- 2). Run
win_build_x86.batorwin_build_x64.batincmdto set Environment variable
# if you want to build a 32-bit UEFI program, please run this script
win_build_x86.bat
# If you want to build a 64-bit UEFI program, please run this script
win_build_x64.bat- 3). Start your Build
- 1). Run
linux_init.sh, only in the first time when you clone this repository
# install essential tools, download submodule and make build tool
source linux_init.sh- 2). Run
linux_build.shto set Environment variable
source linux_build.sh- 3). Start your Build
- This part is used to record my own learning process in docs and store some install packages, etc.
- This part is used store some essential build tools of edk2 and others debug tools.
- If you encounter this error
/usr/bin/env: 锟斤拷bash\r锟斤拷: No such file or directoryduring compilation underLinux, please execute the following command:
find . -type f -exec dos2unix {} +