EDK2: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
m Bot: Replace deprecated source tag with syntaxhighlight
m Bot: Replace deprecated source tag with syntaxhighlight
 
Line 129:
</syntaxhighlight>
Create a file called UefiMain.c in the same directory MyEfiApp.inf, and give it the following contents
<sourcesyntaxhighlight lang="c">
#include <Uefi.h>
#include <Library/UefiLib.h>
Line 152:
return EFI_SUCCESS;
}
</syntaxhighlight>
</source>
 
Now run edksetup.sh if need be. After that, find a "Components" section MdeModulePkg/MdeModulePkg.dsc, and add this to it