From 5184542fe78413ac8ec2ee078c4bffee174b0139 Mon Sep 17 00:00:00 2001 From: Regia König Date: Tue, 9 Aug 2022 12:13:16 +0200 Subject: Correct edk2 build instructions order --- documentation/ovmf_with_gdb_16_5_2022.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/ovmf_with_gdb_16_5_2022.txt b/documentation/ovmf_with_gdb_16_5_2022.txt index c5b8b7a..f2569d2 100644 --- a/documentation/ovmf_with_gdb_16_5_2022.txt +++ b/documentation/ovmf_with_gdb_16_5_2022.txt @@ -7,8 +7,8 @@ Build EDK2 using gcc as usual. $ git clone git@github.com:tianocore/edk2.git $ cd edk2 $ git submodule update --init --recursive +$ source edksetup.sh $ make -C BaseTools -$ source ./edksetup.sh $ build -p OvmfPkg/OvmfPkgX64.dsc -b DEBUG -a X64 -t GCC5 To make debugging easy, create a Makefile as follow. Note that we have to connect debugcon at 0x402 to dump debug information (debug.log) from OVMF[4]. -- cgit v1.2.3-55-g7522