diff options
author | Regia König | 2021-04-09 16:06:18 +0200 |
---|---|---|
committer | Regia König | 2021-04-09 16:06:18 +0200 |
commit | adb3d9aa5dc5d935dc75ab6ba22fd991c0d470cb (patch) | |
tree | 1853effe0adf721e8cccb0c300ff5ae373852c97 /efi_memtest/Makefile | |
parent | Build BasePrintLib.o (diff) | |
download | memtest86-adb3d9aa5dc5d935dc75ab6ba22fd991c0d470cb.tar.gz memtest86-adb3d9aa5dc5d935dc75ab6ba22fd991c0d470cb.tar.xz memtest86-adb3d9aa5dc5d935dc75ab6ba22fd991c0d470cb.zip |
Build UefiDevicePathLib2.o
Diffstat (limited to 'efi_memtest/Makefile')
-rw-r--r-- | efi_memtest/Makefile | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/efi_memtest/Makefile b/efi_memtest/Makefile index 3a439c0..378df43 100644 --- a/efi_memtest/Makefile +++ b/efi_memtest/Makefile @@ -27,18 +27,26 @@ 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 BasePcdLibNull.o + BaseDebugPrintErrorLevelLib.o BaseMemoryLib.o BasePcdLibNull.o UefiDevicePathLib2.o + + +# \ +# \ +# UefiMemoryAllocationLib.lib) + + BaseMemoryLib_OBJS=CompareMemWrapper.o CopyMem.o CopyMemWrapper.o IsZeroBufferWrapper.o \ MemLibGeneric.o MemLibGuid.o ScanMem16Wrapper.o ScanMem32Wrapper.o ScanMem64Wrapper.o \ ScanMem8Wrapper.o SetMem.o SetMem16Wrapper.o SetMem32Wrapper.o SetMem64Wrapper.o \ SetMemWrapper.o ZeroMemWrapper.o BasePrintLib.o +UefiDevicePathLib_OBJS=DevicePathFromText.o DevicePathToText.o DevicePathUtilities.o \ + DevicePathUtilitiesDxeSmm.o DevicePathUtilitiesStandaloneMm.o UefiDevicePathLib.o \ + UefiDevicePathLibOptionalDevicePathProtocol.o + LIBRARIES=OUTPUT/MemtestEfi.lib -# \ -# UefiDevicePathLib.lib \ -# UefiMemoryAllocationLib.lib) all: clean MemtestEfi.efi move run @@ -128,6 +136,14 @@ BaseMemoryLib.o: $(BaseMemoryLib_OBJS) BasePrintLib.o: PrintLib.o PrintLibInternal.o ld -r PrintLib.o PrintLibInternal.o -o BasePrintLib.o + +%.o: memtest86+/efi/Include/src/UefiDevicePathLib/%.c + $(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \ + -I"memtest86+/efi/Include" + +UefiDevicePathLib2.o: $(UefiDevicePathLib_OBJS) + ld -r $(UefiDevicePathLib_OBJS) -o UefiDevicePathLib2.o + %.o: memtest86+/efi/%.c $(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \ -I"memtest86+" \ |