From a1bff2105f5e80ee36db3409df57125a0641856e Mon Sep 17 00:00:00 2001 From: Pavel Naberezhnev <78569117+stokescat@users.noreply.github.com> Date: Thu, 11 Sep 2025 16:41:17 +0300 Subject: [PATCH] Added UserEvent into Makefile for Windows (#77) Support for EFI Events has been added to userspace in the OpenCorePkg project. To pass CI for VS2019, the UserEvent file needs to be added to Makefiles in this commit Signed-off-by: Pavel Naberezhnev --- BaseTools/ImageTool/Makefile | 2 +- BaseTools/MicroTool/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseTools/ImageTool/Makefile b/BaseTools/ImageTool/Makefile index ec1dfd28d2..70e329d355 100644 --- a/BaseTools/ImageTool/Makefile +++ b/BaseTools/ImageTool/Makefile @@ -35,7 +35,7 @@ USER = $(OC_USER)\User\Library OBJECTS = $(OBJECTS) {$(BASE)}SafeString.obj String.obj SwapBytes16.obj SwapBytes32.obj CpuDeadLoop.obj CheckSum.obj QuickSort.obj LinkedList.obj OBJECTS = $(OBJECTS) {$(OUT)}DebugLib.obj {$(PRIN)}PrintLib.obj PrintLibInternal.obj {$(ERRO)}BaseDebugPrintErrorLevelLib.obj OBJECTS = $(OBJECTS) {$(UIMG)}UefiImageLib.obj UeSupport.obj PeSupport.obj CommonSupport.obj -OBJECTS = $(OBJECTS) {$(USER)}UserFile.obj UserBaseMemoryLib.obj UserMath.obj UserPcd.obj UserMisc.obj UserGlobalVar.obj UserBootServices.obj +OBJECTS = $(OBJECTS) {$(USER)}UserFile.obj UserBaseMemoryLib.obj UserMath.obj UserPcd.obj UserMisc.obj UserGlobalVar.obj UserEvent.obj UserBootServices.obj OBJECTS = $(OBJECTS) {$(BMPN)}BaseMemoryProfileLibNull.obj {$(CMEM)}CommonMemoryAllocationLib.obj {$(CMEM)}CommonMemoryAllocationLibEx.obj INC = -I . -I $(OC_USER)\User\Include -I $(OC_USER)\Include\Acidanthera diff --git a/BaseTools/MicroTool/Makefile b/BaseTools/MicroTool/Makefile index 44d23ca0de..0449fa54c4 100644 --- a/BaseTools/MicroTool/Makefile +++ b/BaseTools/MicroTool/Makefile @@ -26,7 +26,7 @@ CMEM = $(UDK_PATH)\MdeModulePkg\Library\CommonMemoryAllocationLib USER = $(OC_USER)\User\Library OBJECTS = $(OBJECTS) {$(BASE)}SafeString.obj String.obj SwapBytes16.obj SwapBytes32.obj CpuDeadLoop.obj CheckSum.obj OBJECTS = $(OBJECTS) {$(OUT)}DebugLib.obj {$(PRIN)}PrintLib.obj PrintLibInternal.obj {$(ERRO)}BaseDebugPrintErrorLevelLib.obj -OBJECTS = $(OBJECTS) {$(USER)}UserFile.obj UserBaseMemoryLib.obj UserMath.obj UserPcd.obj UserMisc.obj UserGlobalVar.obj UserBootServices.obj +OBJECTS = $(OBJECTS) {$(USER)}UserFile.obj UserBaseMemoryLib.obj UserMath.obj UserPcd.obj UserMisc.obj UserGlobalVar.obj UserEvent.obj UserBootServices.obj OBJECTS = $(OBJECTS) {$(BMPN)}BaseMemoryProfileLibNull.obj {$(CMEM)}CommonMemoryAllocationLib.obj {$(CMEM)}CommonMemoryAllocationLibEx.obj INC = -I . -I $(OC_USER)\User\Include -I $(OC_USER)\Include\Acidanthera