Files
buildroot/package/memtest86/memtest86.mk
Bernd Kuhls be3837ea3f package/memtest86: bump version to 8.00
https://github.com/memtest86plus/memtest86plus/releases/tag/v8.00

Upstream merged memtest.bin and memtest.efi into mt86plus:
71d061a4c7

and renamed the build directories:
a10664a251

Upstream commit
6f4ec848c4
removed the override of $CC, for details of the problem see this thread:
https://lists.buildroot.org/pipermail/buildroot/2023-December/366174.html

and in fact the first build command now reads

/home/bernd/buildroot/output/per-package/memtest86/host/bin/i686-buildroot-linux-gnu-gcc
 -m32 -x assembler-with-cpp -c -I../../boot -o boot/x86/startup.o ../../boot/x86/startup32.S

instead of this command seen with version 7.20:
gcc -m32 -x assembler-with-cpp -c -I../boot -o boot/startup.o ../boot/startup32.S

This should hopefully fix the build on non-x86 hosts:
https://autobuild.buildroot.net/results/fc1/fc14be4f2e5b1db2f7313156b50c9e2e298b06e9/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-03-07 14:01:52 +01:00

32 lines
802 B
Makefile

################################################################################
#
# memtest86
#
################################################################################
MEMTEST86_VERSION = 8.00
MEMTEST86_SITE = $(call github,memtest86plus,memtest86plus,v$(MEMTEST86_VERSION))
MEMTEST86_LICENSE = GPL-2.0
MEMTEST86_LICENSE_FILES = LICENSE
MEMTEST86_INSTALL_IMAGES = YES
MEMTEST86_INSTALL_TARGET = NO
ifeq ($(BR2_i386),y)
MEMTEST86_BUILD_DIR = build/i586
else
ifeq ($(BR2_x86_64),y)
MEMTEST86_BUILD_DIR = build/x86_64
endif
endif
define MEMTEST86_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/$(MEMTEST86_BUILD_DIR)
endef
define MEMTEST86_INSTALL_IMAGES_CMDS
$(INSTALL) -m 0755 -D $(@D)/$(MEMTEST86_BUILD_DIR)/mt86plus \
$(BINARIES_DIR)/mt86plus
endef
$(eval $(generic-package))