summaryrefslogtreecommitdiffstats
path: root/efi_memtest/Makefile
diff options
context:
space:
mode:
authorRegia König2021-04-08 14:37:03 +0200
committerRegia König2021-04-08 14:37:03 +0200
commit4ce3479be7ab1165e0fd8174920176dca3555665 (patch)
treed065a2b066e954e8b16658a1d50719132cdb6543 /efi_memtest/Makefile
parentRemove all page_allocation files from master (diff)
downloadmemtest86-4ce3479be7ab1165e0fd8174920176dca3555665.tar.gz
memtest86-4ce3479be7ab1165e0fd8174920176dca3555665.tar.xz
memtest86-4ce3479be7ab1165e0fd8174920176dca3555665.zip
Replace BaseDebugPrintErrorLevelLib.lib by *.c file
Diffstat (limited to 'efi_memtest/Makefile')
-rw-r--r--efi_memtest/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/efi_memtest/Makefile b/efi_memtest/Makefile
index 519d86d..c2d7937 100644
--- a/efi_memtest/Makefile
+++ b/efi_memtest/Makefile
@@ -35,12 +35,13 @@ OBJS=AutoGen.obj main.o display.o test.o smp.o config.o screen_buffer.o lib.o in
LIBS_PATH=memtest86+/efi/Include/libs
-LIBRARIES=OUTPUT/MemtestEfi.lib $(addprefix $(LIBS_PATH)/, BaseDebugPrintErrorLevelLib.lib \
- BaseLib.lib BaseMemoryLib.lib BasePcdLibNull.lib BasePrintLib.lib UefiApplicationEntryPoint.lib \
+LIBRARIES=OUTPUT/MemtestEfi.lib $(addprefix $(LIBS_PATH)/, BaseLib.lib BaseMemoryLib.lib BasePcdLibNull.lib BasePrintLib.lib UefiApplicationEntryPoint.lib \
UefiBootServicesTableLib.lib UefiDebugLibStdErr.lib UefiDevicePathLib.lib UefiLib.lib \
UefiMemoryAllocationLib.lib UefiRuntimeServicesTableLib.lib)
+SRC_PATH=memtest86+/efi/Include/src
+EDK_SRC=$(addprefix $(SRC_PATH)/, BaseDebugPrintErrorLevelLib.c)
# STATIC_LIBRARY_FILES= libs/BaseLib.lib
# libs/BaseMemoryLib.lib libs/BasePcdLibNull.lib
@@ -102,6 +103,10 @@ AutoGen.obj: memtest86+/efi/Include/AutoGen.c
$(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \
-I"memtest86+/efi"
+%.o: memtest86+/efi/Include/src/%.c
+ $(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \
+ -I"memtest86/efi/Include"
+
%.o: memtest86+/efi/%.c
$(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \
-I"memtest86+" \