summaryrefslogtreecommitdiff
path: root/package/ttcp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-07 20:15:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-07 20:15:44 +0100
commit483e9fde0b3923169c3c70720ca94b032dd30ae8 (patch)
treebd4ea28db271093276fe295b2da2e000a28aa857 /package/ttcp
parent10997d993a55465525b026b9404f5809687e9e3c (diff)
parent25448b89bc693d56b074cd7b2a9c60ddc12f7404 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/ttcp')
-rw-r--r--package/ttcp/Makefile8
-rw-r--r--package/ttcp/src/ttcp.c (renamed from package/ttcp/ttcp.c)0
2 files changed, 6 insertions, 2 deletions
diff --git a/package/ttcp/Makefile b/package/ttcp/Makefile
index 81f8daae2..e8df1cd43 100644
--- a/package/ttcp/Makefile
+++ b/package/ttcp/Makefile
@@ -10,14 +10,18 @@ PKG_DESCR:= A small utility to test TCP connection performance
PKG_SECTION:= net
NO_DISTFILES:= 1
-WRKDIST= ${WRKDIR}/ttcp
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TTCP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
do-build:
- ${TARGET_CC} ${TARGET_CFLAGS} -o ${WRKBUILD}/ttcp ttcp.c
+ ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} -o ${WRKBUILD}/ttcp \
+ ${WRKBUILD}/ttcp.c
do-install:
${INSTALL_DIR} ${IDIR_TTCP}/usr/bin
diff --git a/package/ttcp/ttcp.c b/package/ttcp/src/ttcp.c
index 3b1f07adf..3b1f07adf 100644
--- a/package/ttcp/ttcp.c
+++ b/package/ttcp/src/ttcp.c