add memtester
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9688 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4887751196
commit
4c263049a2
46
utils/memtester/Makefile
Normal file
46
utils/memtester/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
#
|
||||
# Copyright (C) 2007 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# $Id$
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=memtester
|
||||
PKG_VERSION:=4.0.8
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://pyropus.ca/software/memtester/old-versions/
|
||||
PKG_MD5SUM:=a4971ed1ccaf5b2e2148fd66b0eb7363
|
||||
|
||||
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))
|
Loading…
x
Reference in New Issue
Block a user