This repository has been archived by the owner on Nov 1, 2023. It is now read-only.
forked from HouQiming/i915ovmfPkg
-
-
Notifications
You must be signed in to change notification settings - Fork 24
Compiling
Patrick Magauran edited this page Nov 30, 2020
·
6 revisions
-
First update to the latests packages:
sudo dnf update
-
Download all the needed files and dependencies and setup the workspace.
mkdir i195dev cd i915dev/ git clone https://github.com/RotatingFans/i915ovmfPkg.git git clone https://github.com/tianocore/edk2.git git clone https://github.com/tianocore/edk2-platforms.git cd edk2-platforms/ git submodule update --init cd ../edk2 git submodule update --init cd .. mkdir Conf cp i915ovmfPkg/target.txt Conf/target.txt sudo dnf install libuuid-devel iasl nasm clang lld-devel llvm-devel cmake automake
-
Edit the
build.sh
file to use the newly created workspace.- Modify the
WORKSPACE
variable to point to your new folder(ex/home/USER/i915dev
)
- Modify the
-
Try to build the code:
sudo ./i915ovmfPkg/build.sh
- Note Sudo may be required for a variety of reasons.
- Use most of the commands and steps listed on the Using Page, BUT
- Use the
test
script for gvt-g and thetest-gvt-d.sh
script for gvt-d- These scripts both build and run the software
- Use the
It should be possible to compile and run this without much issue on other distributions of linux. However some dependencies and commands may be different.