summaryrefslogtreecommitdiffstats
path: root/ArmPkg
diff options
context:
space:
mode:
authorLeif Lindholm <leif@nuviainc.com>2021-02-08 23:39:43 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-02-09 13:09:12 +0000
commit8cb9b296848e31be33b1b992c2b5c7ea2652600d (patch)
tree0381c79872b183213df7f281b42e4dd68caa6ac8 /ArmPkg
parent273261126e30c46737736bff3ece64c4bd77bedd (diff)
downloadedk2-8cb9b296848e31be33b1b992c2b5c7ea2652600d.tar.gz
edk2-8cb9b296848e31be33b1b992c2b5c7ea2652600d.tar.bz2
edk2-8cb9b296848e31be33b1b992c2b5c7ea2652600d.zip
ArmPkg: add DebugLib to OemMiscLibNull
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>
Diffstat (limited to 'ArmPkg')
-rw-r--r--ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c1
-rw-r--r--ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf2
2 files changed, 2 insertions, 1 deletions
diff --git a/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c
index 767fc08d16..73cebef2d1 100644
--- a/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c
+++ b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c
@@ -11,6 +11,7 @@
#include <Uefi.h>
#include <Library/BaseMemoryLib.h>
+#include <Library/DebugLib.h>
#include <Library/HiiLib.h>
#include <Library/OemMiscLib.h>
diff --git a/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf
index b21eeade64..5c4268f68b 100644
--- a/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf
+++ b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf
@@ -28,4 +28,4 @@
[LibraryClasses]
BaseMemoryLib
-
+ DebugLib