Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= netperf
  7. PKG_VERSION:= 2.3pl1
  8. PKG_RELEASE:= 8
  9. PKG_MD5SUM:= b74314d78af31cb13516fb9a372d2e86
  10. MASTER_SITES:= ftp://ftp.netperf.org/netperf/archive/ \
  11. ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,NETPERF,netperf,${PKG_VERSION}${PKG_RELEASE}))
  14. BUILD_STYLE:= auto
  15. MAKE_FLAGS+= TARGET_NETPERF_HOME="/etc/netperf.conf" \
  16. TARGET_CC=${TARGET_CROSS}gcc \
  17. TARGET_CFLAGS="${TCFLAGS}" \
  18. TARGET_LIBS=""
  19. MAKE_FILE:= makefile
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_NETPERF}/etc/init.d
  22. ${INSTALL_DIR} ${IDIR_NETPERF}/usr/bin
  23. ${INSTALL_BIN} ./files/netserver.init \
  24. ${IDIR_NETPERF}/etc/init.d/netserver
  25. ${INSTALL_BIN} ${WRKBUILD}/netperf ${IDIR_NETPERF}/usr/bin/
  26. ${INSTALL_BIN} ${WRKBUILD}/netserver ${IDIR_NETPERF}/usr/bin/
  27. include ${TOPDIR}/mk/pkg-bottom.mk