文章目录
下载qemu源码
git clone https://github.com/qemu/qemu.git
安装依赖软件
kernel编译
apt install pkg-config
apt install gcc
apt install libglib2.0-dev
apt install libncurses-dev
apt install bison
apt install flex
apt install bc
apt install openssl
apt install libssl-dev
apt install make
qemu编译
apt install bzip2
apt install python3-pip
apt install python3-venv
apt-get install libglib2.0-dev
apt install pkgconfig
apt install meson
apt install ninja-build
安装python依赖软件
pip install yapf
编译
make build
pushd build
.../configure --target-list=arm-softmmu
make -j32
popd