summaryrefslogtreecommitdiffstats
path: root/resources/memtest86plus/patch/Makefile
diff options
context:
space:
mode:
authorKlemens Nanni <contact@autoboot.org>2015-11-18 18:56:21 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-11-21 05:26:29 (EST)
commit460c5af7c66f43517a29a2d7d7d23b5a07fa8c88 (patch)
tree9cf1633f03ee09907f335035ec0a68603d18fcea /resources/memtest86plus/patch/Makefile
parent04dcb0d63ca111915a0a644543a1b2a9ea84c3a5 (diff)
downloadlibreboot-460c5af7c66f43517a29a2d7d7d23b5a07fa8c88.zip
libreboot-460c5af7c66f43517a29a2d7d7d23b5a07fa8c88.tar.gz
libreboot-460c5af7c66f43517a29a2d7d7d23b5a07fa8c88.tar.bz2
download/Memtest86+: Use patches not raw files
Diffstat (limited to 'resources/memtest86plus/patch/Makefile')
-rw-r--r--resources/memtest86plus/patch/Makefile81
1 files changed, 0 insertions, 81 deletions
diff --git a/resources/memtest86plus/patch/Makefile b/resources/memtest86plus/patch/Makefile
deleted file mode 100644
index bc1e6dc..0000000
--- a/resources/memtest86plus/patch/Makefile
+++ /dev/null
@@ -1,81 +0,0 @@
-# Makefile for MemTest86+
-#
-# Author: Chris Brady
-# Created: January 1, 1996
-
-
-#
-# Path for the floppy disk device
-#
-FDISK=/dev/fd0
-
-AS=as -32
-CC=gcc
-
-CFLAGS= -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin \
- -ffreestanding -fPIC $(SMP_FL) -fno-stack-protector -fgnu89-inline
-
-OBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \
- config.o cpuid.o linuxbios.o pci.o memsize.o spd.o error.o dmi.o controller.o \
- smp.o vmem.o random.o
-
-
-all: clean memtest.bin memtest
-# scp memtest.bin root@192.168.0.12:/srv/tftp/mt86plus
-
-# Link it statically once so I know I don't have undefined
-# symbols and then link it dynamically so I have full
-# relocation information
-memtest_shared: $(OBJS) memtest_shared.lds Makefile
- $(LD) --warn-constructors --warn-common -static -T memtest_shared.lds \
- -o $@ $(OBJS) && \
- $(LD) -shared -Bsymbolic -T memtest_shared.lds -o $@ $(OBJS)
-
-memtest_shared.bin: memtest_shared
- objcopy -O binary $< memtest_shared.bin
-
-memtest: memtest_shared.bin memtest.lds
- $(LD) -s -T memtest.lds -b binary memtest_shared.bin -o $@
-
-head.s: head.S config.h defs.h test.h
- $(CC) -E -traditional $< -o $@
-
-bootsect.s: bootsect.S config.h defs.h
- $(CC) -E -traditional $< -o $@
-
-setup.s: setup.S config.h defs.h
- $(CC) -E -traditional $< -o $@
-
-memtest.bin: memtest_shared.bin bootsect.o setup.o memtest.bin.lds
- $(LD) -T memtest.bin.lds bootsect.o setup.o -b binary \
- memtest_shared.bin -o memtest.bin
-
-reloc.o: reloc.c
- $(CC) -c $(CFLAGS) -fno-strict-aliasing reloc.c
-
-test.o: test.c
- $(CC) -c -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding test.c
-
-random.o: random.c
- $(CC) -c -Wall -march=i486 -m32 -O3 -fomit-frame-pointer -fno-builtin -ffreestanding random.c
-
-# rule for build number generation
-build_number:
- sh make_buildnum.sh
-
-clean:
- rm -f *.o *.s *.iso memtest.bin memtest memtest_shared \
- memtest_shared.bin memtest.iso
-
-iso:
- make all
- ./makeiso.sh
-
-install: all
- dd <memtest.bin >$(FDISK) bs=8192
-
-install-precomp:
- dd <precomp.bin >$(FDISK) bs=8192
-
-dos: all
- cat mt86+_loader memtest.bin > memtest.exe