diff options
author | Regina König | 2020-07-28 16:10:42 +0200 |
---|---|---|
committer | Regina König | 2020-07-28 16:10:42 +0200 |
commit | 39477e5563afa121c62ae6aaa0a7a725d1a8f772 (patch) | |
tree | 028a09f4e043ecf3ad44166b15133c74775ed42f /efi_memtest/Makefile | |
parent | moved some files into efi and bios directory. Created some new header (diff) | |
download | memtest86-39477e5563afa121c62ae6aaa0a7a725d1a8f772.tar.gz memtest86-39477e5563afa121c62ae6aaa0a7a725d1a8f772.tar.xz memtest86-39477e5563afa121c62ae6aaa0a7a725d1a8f772.zip |
modified logger
Diffstat (limited to 'efi_memtest/Makefile')
-rw-r--r-- | efi_memtest/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/efi_memtest/Makefile b/efi_memtest/Makefile index 7451619..3ae205a 100644 --- a/efi_memtest/Makefile +++ b/efi_memtest/Makefile @@ -10,7 +10,7 @@ CC=gcc CFLAGS= -Werror -Wall -fno-builtin -fshort-wchar -fno-common -fno-strict-aliasing -g \ -Wno-array-bounds -fno-stack-protector -Wno-address -mno-red-zone \ -fpie -ffunction-sections -fdata-sections -flto -maccumulate-outgoing-args \ - -fno-asynchronous-unwind-tables -nostdlib + -fno-asynchronous-unwind-tables -nostdlib -fPIC LINKER= @@ -24,14 +24,14 @@ PREPROCESSOR=-DUEFI -DUSING_LTO -Os \ -D DISABLE_NEW_DEPRECATED_INTERFACES "-DEFIAPI=__attribute__((ms_abi))" INCLUDE_FILES=main cpuid test smp config screen_buffer lib init controller pci \ - spd dmi reloc patn linuxbios error vmem memsize random + spd dmi reloc patn linuxbios error vmem memsize random logger ADDITIONAL_HEADER=$(addprefix memtest86+/, defs.h linuxbios_tables.h efi/stdin.h io.h \ stdint.h stddef.h serial.h msr.h jedec_id.h elf.h) OBJS=AutoGen.obj main.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 linuxbios.o error.o vmem.o cpuid.o memsize.o \ - random.o MemtestEfi.obj + random.o MemtestEfi.obj logger.o # STATIC_LIBRARY_FILES= libs/BaseLib.lib @@ -93,7 +93,8 @@ AutoGen.obj: memtest86+/efi/Include/AutoGen.c %.o: memtest86+/efi/%.c $(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \ -I"memtest86+" \ - -I"memtest86+/efi" + -I"memtest86+/efi" \ + -I"memtest86+/efi/Include" clean: rm -f OUTPUT/* |