Skip to content

Commit

Permalink
package/lima-memtester: new package
Browse files Browse the repository at this point in the history
This is a memory reliability testing tool, implemented by combining
http://limadriver.org/ and http://pyropus.ca/software/memtester/

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
  • Loading branch information
ssvb committed Dec 5, 2015
1 parent 3f90e53 commit 729c00a
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions package/Config.in
Expand Up @@ -373,6 +373,7 @@ endif
source "package/kbd/Config.in"
source "package/lcdproc/Config.in"
source "package/libump/Config.in"
source "package/lima-memtester/Config.in"
source "package/linux-backports/Config.in"
source "package/lirc-tools/Config.in"
source "package/lm-sensors/Config.in"
Expand Down
7 changes: 7 additions & 0 deletions package/lima-memtester/Config.in
@@ -0,0 +1,7 @@
config BR2_PACKAGE_LIMA_MEMTESTER
bool "lima-memtester"
help
This is a memory reliability testing tool, implemented by combining
http://limadriver.org/ and http://pyropus.ca/software/memtester/

https://github.com/ssvb/lima-memtester
12 changes: 12 additions & 0 deletions package/lima-memtester/lima-memtester.mk
@@ -0,0 +1,12 @@
################################################################################
#
# lima-memtester
#
################################################################################

LIMA_MEMTESTER_VERSION = 09e8e12488ed77942abe8cae68f01f59d9a50b08
LIMA_MEMTESTER_SITE = $(call github,ssvb,lima-memtester,$(LIMA_MEMTESTER_VERSION))
LIMA_MEMTESTER_LICENSE = GPLv2+
LIMA_MEMTESTER_LICENSE_FILES = readme.txt

$(eval $(cmake-package))
13 changes: 13 additions & 0 deletions package/lima-memtester/no-static.patch
@@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fbc470b..1523d26 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8)

project(lima-memtester ASM C)
find_package(Threads REQUIRED)
-set(CMAKE_C_FLAGS "-s -static -Os")
+set(CMAKE_C_FLAGS "-Os")

add_definitions(-DHAVE_NO_LIBMALI_BLOB -DMESA_EGL_NO_X11_HEADERS)
include_directories(limadriver/include limadriver/limare/lib

0 comments on commit 729c00a

Please sign in to comment.