Initial Commit
- initial default booting image
This commit is contained in:
31
package/memtest86/memtest86.mk
Normal file
31
package/memtest86/memtest86.mk
Normal file
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user