]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg: add DebugLib to OemMiscLibNull
authorLeif Lindholm <leif@nuviainc.com>
Mon, 8 Feb 2021 23:39:43 +0000 (23:39 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 9 Feb 2021 13:09:12 +0000 (13:09 +0000)
The just added OemMiscLibNull fails to build due to DebugLib.h not
being included, missing the ASSERT definition. Add the include and the
library dependency.

Cc: Rebecca Cran <rebecca@nuviainc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Rebecca Cran <rebecca@nuviainc.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c
ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf

index 767fc08d166bd11aba54d3e1cec2b274644cd1a8..73cebef2d1b950d09e1dfa513cdc18b7c608357b 100644 (file)
@@ -11,6 +11,7 @@
 \r
 #include <Uefi.h>\r
 #include <Library/BaseMemoryLib.h>\r
 \r
 #include <Uefi.h>\r
 #include <Library/BaseMemoryLib.h>\r
+#include <Library/DebugLib.h>\r
 #include <Library/HiiLib.h>\r
 \r
 #include <Library/OemMiscLib.h>\r
 #include <Library/HiiLib.h>\r
 \r
 #include <Library/OemMiscLib.h>\r
index b21eeade64b57ea72ce7fa038544e8f653c11247..5c4268f68b4a0d3e326145a50382841993f4a1f5 100644 (file)
@@ -28,4 +28,4 @@
 \r
 [LibraryClasses]\r
   BaseMemoryLib\r
 \r
 [LibraryClasses]\r
   BaseMemoryLib\r
-\r
+  DebugLib\r