diff options
author | Regia König | 2021-04-09 15:52:48 +0200 |
---|---|---|
committer | Regia König | 2021-04-09 15:52:48 +0200 |
commit | 4a741b65a955f2dbeecede158f70d46c4d2dc38e (patch) | |
tree | 6f8112ad7c6b141a358e71e6cdaf323a544e7270 /efi_memtest/Makefile | |
parent | Build BasePcdLibNull.o (diff) | |
download | memtest86-4a741b65a955f2dbeecede158f70d46c4d2dc38e.tar.gz memtest86-4a741b65a955f2dbeecede158f70d46c4d2dc38e.tar.xz memtest86-4a741b65a955f2dbeecede158f70d46c4d2dc38e.zip |
Build BasePrintLib.o
Diffstat (limited to 'efi_memtest/Makefile')
-rw-r--r-- | efi_memtest/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/efi_memtest/Makefile b/efi_memtest/Makefile index b57e333..3a439c0 100644 --- a/efi_memtest/Makefile +++ b/efi_memtest/Makefile @@ -32,11 +32,11 @@ OBJS=AutoGen.obj main.o display.o test.o smp.o config.o screen_buffer.o lib.o in 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 + SetMemWrapper.o ZeroMemWrapper.o BasePrintLib.o LIBRARIES=OUTPUT/MemtestEfi.lib -# BasePrintLib.lib \ +# \ # UefiDevicePathLib.lib \ # UefiMemoryAllocationLib.lib) @@ -122,6 +122,12 @@ UefiDebugLibStdErr.o: DebugLib.o DebugLibConstructor.o BaseMemoryLib.o: $(BaseMemoryLib_OBJS) ld -r $(BaseMemoryLib_OBJS) -o BaseMemoryLib.o +%.o: memtest86+/efi/Include/src/BasePrintLib/%.c + $(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \ + -I"memtest86+/efi/Include" + +BasePrintLib.o: PrintLib.o PrintLibInternal.o + ld -r PrintLib.o PrintLibInternal.o -o BasePrintLib.o %.o: memtest86+/efi/%.c $(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \ -I"memtest86+" \ |