2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://pyropus.ca
/software
/memtester
/old-versions
/
17 PKG_MD5SUM
:=a4971ed1ccaf5b2e2148fd66b0eb7363
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/memtester
24 TITLE
:=Userspace utility for testing the memory subsystem for faults
25 URL
:=http
://pyropus.ca
/software
/memtester
/
28 define Package
/memtester
/description
29 A userspace utility for testing the memory subsystem for faults.
32 define Build
/Configure
33 $(SED
) 's,cc -O2,$(TARGET_CC) $(TARGET_CFLAGS),' $(PKG_BUILD_DIR
)/conf-cc
34 $(SED
) "s,cc,$(TARGET_CC)," $(PKG_BUILD_DIR
)/conf-ld
38 $(MAKE
) -C
$(PKG_BUILD_DIR
) all
41 define Package
/memtester
/install
42 $(INSTALL_DIR
) $(1)/usr
/sbin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/memtester
$(1)/usr
/sbin
/
46 $(eval
$(call BuildPackage
,memtester
))