1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = http://www.memtest.org/
13 summary = Stand-alone memory tester for x86 and x86-64 computers.
16 Memtest86+ is a thorough stand-alone memory test for x86 and x86-64
17 architecture computers. BIOS based memory tests are only a quick
18 check and often miss many of the failures that are detected by
25 CFLAGS += -fno-builtin -ffreestanding
28 make CC="gcc -fno-stack-protector -fno-PIE" \
29 CFLAGS="%{CFLAGS}" memtest.bin %{PARALLELISMFLAGS}
33 mkdir -pv %{BUILDROOT}/boot
34 cp -vf memtest.bin %{BUILDROOT}/boot/memtest86+
36 mkdir -pv %{BUILDROOT}/etc/grub.d
37 cp -vf %{DIR_SOURCE}/%{name}.grub %{BUILDROOT}/etc/grub.d/20_%{name}