2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-source.tar.gz
15 PKG_SOURCE_URL:=http://home.comcast.net/~SCSIguy/SCSI_FAQ/RMiller_Tools/ftp/$(PKG_NAME)/
16 PKG_MD5SUM:=5776233a2d301a50b314306538257a45
18 include $(INCLUDE_DIR)/package.mk
21 zcat $(DL_DIR)/$(PKG_SOURCE) | \
22 $(TAR) -C $(PKG_BUILD_DIR) --strip-components 2 $(TAR_OPTIONS);
27 TITLE:=A generic data test program
28 URL:=http://www.scsifaq.org/RMiller_Tools/index.html
29 DEPENDS:=+libpthread +librt
32 define Package/dt/description
33 dt is a generic data test program used to verify proper operation of peripherals,
34 file systems, device drivers, or any data stream supported by the operating system.
35 In its' simplest mode of operation, dt writes and then verifys its' default data pattern,
36 then displays performance statisics and other test parameters before exiting.
37 Since verification of data is performed, dt can be thought of as a generic diagnostic tool.
41 $(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.linux \
43 CFLAGS="$(TARGET_CFLAGS) -DFIFO -DMMAP -DTTY -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \
47 define Package/dt/install
48 $(INSTALL_DIR) $(1)/usr/bin
49 $(INSTALL_BIN) $(PKG_BUILD_DIR)/dt $(1)/usr/bin/
52 $(eval $(call BuildPackage,dt))