kumquat-buildroot/package/memtest86/memtest86.mk
Kalpesh Panchal a743087593 package/memtest86: bump to version 6.20
- bumped package version to 6.20
- as 6.20 prebuilt version is not available on same download site but
  source code is released at https://github.com/memtest86plus/memtest86plus/releases
  so updated mk file to download source from git release
- prebuilt binary not found in 6.20 package and also README.md
  does not mention any toolchain limitation for compilation
  so added source build command depending on 32-bit or 64-bit x86 target.
- corrected License file name
- installed memtest binaries to image folder like other bootable
  images(grub , kernel) are copied.
- updated config help as per package README.md

Signed-off-by: Kalpesh Panchal <kalpesh.panchal2@collins.com>
Signed-off-by: Abhishek Anand <abhishek.anand@collins.com>
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
[yann.morin.1998@free.fr:
  - fix check-package errors
  - fix hash file
  - better install commands
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 19:23:51 +01:00

34 lines
838 B
Makefile

################################################################################
#
# memtest86
#
################################################################################
MEMTEST86_VERSION = 6.20
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 = build32
else
ifeq ($(BR2_x86_64),y)
MEMTEST86_BUILD_DIR = build64
endif
endif
define MEMTEST86_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/$(MEMTEST86_BUILD_DIR)
endef
define MEMTEST86_INSTALL_IMAGES_CMDS
$(foreach ext, bin efi, \
$(INSTALL) -m 0755 -D $(@D)/$(MEMTEST86_BUILD_DIR)/memtest.$(ext) \
$(BINARIES_DIR)/memtest.$(ext)
)
endef
$(eval $(generic-package))