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