Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= ltp
  5. PKG_VERSION:= 20140828
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 9e6264017a9087d9f9bd0fa2f2d96708f6b32bb8770fda03942a7a8cab8c6723
  8. PKG_DESCR:= linux test project
  9. PKG_DEPENDS:= bash libpthread librt
  10. PKG_DEPENDS+= mke2fs mkfs
  11. PKG_SECTION:= sys/misc
  12. PKG_URL:= http://linux-test-project.github.io
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ltp/}
  14. PKG_NOPARALLEL:= 1
  15. DISTFILES:= ${PKG_NAME}-full-${PKG_VERSION}.tar.xz
  16. WRKDIST= ${WRKDIR}/${PKG_NAME}-full-${PKG_VERSION}
  17. include $(ADK_TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,LTP,ltp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. XAKE_FLAGS+= GCC_HONOUR_COPTS=s
  20. CONFIGURE_ARGS+= --with-open-posix-testsuite \
  21. --with-realtime-testsuite \
  22. --without-power-management-testsuite \
  23. --without-python \
  24. --without-perl \
  25. --without-expect
  26. pre-configure:
  27. $(MAKE) -C $(WRKBUILD) distclean
  28. $(MAKE) -C $(WRKBUILD) autotools
  29. # bessel float version not implemented in uClibc
  30. pre-build:
  31. -rm ${WRKBUILD}/testcases/misc/math/float/float_bessel.c
  32. -rm -rf ${WRKBUILD}/testcases/misc/math/float/bessel
  33. -rm -rf ${WRKBUILD}/testcases/network/{rpc,nfs*}
  34. -rm -rf ${WRKBUILD}/testcases/kernel/syscalls/profil
  35. ltp-install:
  36. $(INSTALL_DIR) $(IDIR_LTP)/opt/ltp/tmp
  37. $(CP) $(WRKINST)/usr/* $(IDIR_LTP)/opt/ltp
  38. include ${ADK_TOPDIR}/mk/pkg-bottom.mk