From ed5f7a8fde62bbb2479037742a0267fa719a01f3 Mon Sep 17 00:00:00 2001 From: shadlyd15 Date: Sat, 7 May 2022 22:47:23 +0200 Subject: [PATCH] compile_guide.md added --- README.md | 8 ++++---- compile_guide.md | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index f419029..f5a48ab 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,9 @@ Go to gnu-efi source folder Change the following macros in makefile to locate GNU-EFI **libraries** and **headers** installed on the previous step. ```makefile - INCDIR = /usr/local/include - LIBDIR = /usr/local/lib - EFILIB = /usr/local/lib + INCDIR = /usr/local/include + LIBDIR = /usr/local/lib + EFILIB = /usr/local/lib ``` # NesUEFI on qemu : @@ -38,7 +38,7 @@ Change the following macros in makefile to locate GNU-EFI **libraries** and **he ### Locate OVMF in Makefile: To run the compiled application in qemu we need OVMF for UEFI emulation. OVMF is a port of Intel's tianocore firmware to the qemu virtual machine. ```makefile - OVMF_DIR = ../OVMF + OVMF_DIR = ../OVMF ``` Change **OVMF_DIR** directory in the makefile. diff --git a/compile_guide.md b/compile_guide.md index 4a9a42f..753b72c 100644 --- a/compile_guide.md +++ b/compile_guide.md @@ -27,18 +27,18 @@ Use this makefile to easily compile and run gnu-efi application. It will recursi Change the following macros to locate the libraries and headers installed on the previous step. ```makefile -IMAGE = uefi_app -TARGET = main.efi +IMAGE = uefi_app +TARGET = main.efi -INCDIR = /usr/local/include -LIBDIR = /usr/local/lib -EFILIB = /usr/local/lib +INCDIR = /usr/local/include +LIBDIR = /usr/local/lib +EFILIB = /usr/local/lib ``` ## Run on qemu : ### Locate OVMF in Makefile: To run the compiled application in qemu we need OVMF for UEFI emulation. OVMF is a port of Intel's tianocore firmware to the qemu virtual machine. Download it from here. ```makefile -OVMF_DIR = ../OVMFbin +OVMF_DIR = ../OVMF ``` Change the OVMF directory in the makefile.