32 lines
802 B
Makefile
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))
|