blob: 132ada257e8befd6a7d5bc10bd676811213993e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#
# Copyright (C) 2007-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=memtester
PKG_VERSION:=4.1.3
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://pyropus.ca/software/memtester/old-versions/
PKG_MD5SUM:=e562451620cf5343016950462bc0dc38
include $(INCLUDE_DIR)/package.mk
define Package/memtester
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Userspace utility for testing the memory subsystem for faults
URL:=http://pyropus.ca/software/memtester/
endef
define Package/memtester/description
A userspace utility for testing the memory subsystem for faults.
endef
define Build/Configure
$(SED) 's,cc -O2,$(TARGET_CC) $(TARGET_CFLAGS),' $(PKG_BUILD_DIR)/conf-cc
$(SED) "s,cc,$(TARGET_CC)," $(PKG_BUILD_DIR)/conf-ld
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) all
endef
define Package/memtester/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/memtester $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,memtester))
|