summaryrefslogtreecommitdiffstats
path: root/efi_memtest/Makefile
diff options
context:
space:
mode:
authorRegia König2021-04-09 15:44:19 +0200
committerRegia König2021-04-09 15:44:19 +0200
commitfe9261f4b9dbf272dd7e1924c0e7797d8704dc0b (patch)
tree7d523afa181ca21d3d59abecf4c72b20befc1c41 /efi_memtest/Makefile
parentBuild BaseMemoryLib.o (diff)
downloadmemtest86-fe9261f4b9dbf272dd7e1924c0e7797d8704dc0b.tar.gz
memtest86-fe9261f4b9dbf272dd7e1924c0e7797d8704dc0b.tar.xz
memtest86-fe9261f4b9dbf272dd7e1924c0e7797d8704dc0b.zip
Build BasePcdLibNull.o
Diffstat (limited to 'efi_memtest/Makefile')
-rw-r--r--efi_memtest/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/efi_memtest/Makefile b/efi_memtest/Makefile
index db1db71..b57e333 100644
--- a/efi_memtest/Makefile
+++ b/efi_memtest/Makefile
@@ -27,7 +27,7 @@ OBJS=AutoGen.obj main.o display.o test.o smp.o config.o screen_buffer.o lib.o in
pci.o spd.o dmi.o reloc.o patn.o error.o vmem.o cpuid.o memsize.o \
random.o MemtestEfi.obj logger.o memory_tables.o ApplicationEntryPoint.o UefiLib2.o \
UefiRuntimeServicesTableLib.o UefiBootServicesTableLib.o UefiDebugLibStdErr.o \
- BaseDebugPrintErrorLevelLib.o BaseMemoryLib.o
+ BaseDebugPrintErrorLevelLib.o BaseMemoryLib.o BasePcdLibNull.o
BaseMemoryLib_OBJS=CompareMemWrapper.o CopyMem.o CopyMemWrapper.o IsZeroBufferWrapper.o \
MemLibGeneric.o MemLibGuid.o ScanMem16Wrapper.o ScanMem32Wrapper.o ScanMem64Wrapper.o \
@@ -36,7 +36,7 @@ BaseMemoryLib_OBJS=CompareMemWrapper.o CopyMem.o CopyMemWrapper.o IsZeroBufferWr
LIBRARIES=OUTPUT/MemtestEfi.lib
-# BasePcdLibNull.lib BasePrintLib.lib \
+# BasePrintLib.lib \
# UefiDevicePathLib.lib \
# UefiMemoryAllocationLib.lib)
@@ -101,6 +101,10 @@ AutoGen.obj: memtest86+/efi/Include/AutoGen.c
-I"memtest86+/efi/Include/Protocol" \
-I"memtest86+/efi/Include/Guid"
+BasePcdLibNull.o: memtest86+/efi/Include/src/PcdLib.c
+ $(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \
+ -I"memtest86+/efi/Include"
+
UefiLib2.o: Acpi.o Console.o UefiDriverModel.o UefiLib.o UefiLibPrint.o UefiNotTiano.o
ld -r Acpi.o Console.o UefiDriverModel.o UefiLib.o UefiLibPrint.o UefiNotTiano.o -o UefiLib2.o