[WSL]edk2-sdm845编译教程 edk2-sdm845 compile guide

USE WINDOWS SUBSYSTEM FOR LINUX

1.安装WSL / Install WSL

以管理员身份启动powershell
Run Powershell as Admin


输入 / Input:

wsl --install -d "Ubuntu-20.04"

2.安装依赖 / Install the dependences

sudo apt update
sudo apt upgrade
sudo apt install build-essential uuid-dev iasl git nasm gcc-aarch64-linux-gnu abootimg python3-distutils python3-pil python3-git gettext

3.克隆 / Clone this project

git clone https://github.com/edk2-porting/edk2-sdm845.git --depth=1
cd edk2-sdm845

4.编译 / Build

bash build.sh --device DEVICE #replace "DEVICE" to your device code

如果你是中国人 / if you are Chinese

bash build.sh --chinese --device DEVICE #hub.fastgit.org


【sn】【wsl】【uefi】【renegade】edk2-sdm845最新源码编译过程_哔哩哔哩_bilibili