diff options
author | Regia König | 2021-04-09 14:56:30 +0200 |
---|---|---|
committer | Regia König | 2021-04-09 14:56:30 +0200 |
commit | 023dfa4e2d2816cbcfcc65b1a2b1367b4b3e8c32 (patch) | |
tree | 181be41ad8c5a84994563d61590fed41aaf97fb7 /efi_memtest/Makefile | |
parent | Remove INCLUDE_FILES var (diff) | |
download | memtest86-023dfa4e2d2816cbcfcc65b1a2b1367b4b3e8c32.tar.gz memtest86-023dfa4e2d2816cbcfcc65b1a2b1367b4b3e8c32.tar.xz memtest86-023dfa4e2d2816cbcfcc65b1a2b1367b4b3e8c32.zip |
Create UefiDebugLibStdErr.o
Diffstat (limited to 'efi_memtest/Makefile')
-rw-r--r-- | efi_memtest/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/efi_memtest/Makefile b/efi_memtest/Makefile index 66c8f26..1032a27 100644 --- a/efi_memtest/Makefile +++ b/efi_memtest/Makefile @@ -26,8 +26,7 @@ PREPROCESSOR=-DUEFI -DUSING_LTO -Os \ OBJS=AutoGen.obj main.o display.o test.o smp.o config.o screen_buffer.o lib.o init.o controller.o \ 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 + UefiRuntimeServicesTableLib.o UefiBootServicesTableLib.o UefiDebugLibStdErr.o #BaseDebugPrintErrorLevelLib.o BaseMemoryLib.o LIBRARIES=OUTPUT/MemtestEfi.lib @@ -99,10 +98,12 @@ AutoGen.obj: memtest86+/efi/Include/AutoGen.c 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 -# todo create UefiLib obj file +%.o: memtest86+/efi/Include/src/UefiDebugLibStdErr/%.c + $(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \ + -I"memtest86+/efi/Include" -#%.o: memtest86+/efi/Include/src/UefiDebugLibStdErr/%.c -# $(CC) $(CFLAGS) $(PREPROCESSOR) $(M) +UefiDebugLibStdErr.o: DebugLib.o DebugLibConstructor.o + ld -r DebugLib.o DebugLibConstructor.o -o UefiDebugLibStdErr.o %.o: memtest86+/efi/%.c $(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \ |