2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2005-09-30 22:41:41 +02:00
|
|
|
#
|
|
|
|
# memtester
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2012-06-27 22:52:24 +02:00
|
|
|
MEMTESTER_VERSION = 4.3.0
|
2010-12-12 22:53:55 +01:00
|
|
|
MEMTESTER_SOURCE = memtester-$(MEMTESTER_VERSION).tar.gz
|
|
|
|
MEMTESTER_SITE = http://pyropus.ca/software/memtester/old-versions/
|
2013-05-03 12:26:45 +02:00
|
|
|
MEMTESTER_LICENSE = GPLv2
|
|
|
|
MEMTESTER_LICENSE_FILES = COPYING
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2010-12-12 22:53:55 +01:00
|
|
|
MEMTESTER_TARGET_INSTALL_OPTS = INSTALLPATH=$(TARGET_DIR)/usr
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2010-12-12 22:53:55 +01:00
|
|
|
define MEMTESTER_BUILD_CMDS
|
|
|
|
$(SED) "s,cc,$(TARGET_CC)," $(@D)/conf-*
|
|
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
|
|
endef
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2010-12-12 22:53:55 +01:00
|
|
|
define MEMTESTER_INSTALL_TARGET_CMDS
|
|
|
|
$(MAKE) $(MEMTESTER_TARGET_INSTALL_OPTS) -C $(@D) install
|
|
|
|
endef
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2010-12-12 22:53:55 +01:00
|
|
|
define MEMTESTER_UNINSTALL_TARGET_CMDS
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/memtester
|
|
|
|
endef
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2010-12-12 22:53:55 +01:00
|
|
|
define MEMTESTER_CLEAN_CMDS
|
|
|
|
-$(MAKE) -C $(@D) clean
|
|
|
|
endef
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|