Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= 20140422
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 6a98074e9121595ccb78951ebfeb698f
  8. PKG_DESCR:= linux test project
  9. PKG_BUILDDEP:= libtirpc
  10. PKG_DEPENDS:= bash libtirpc libpthread librt
  11. PKG_DEPENDS+= mke2fs
  12. PKG_SECTION:= sys/misc
  13. PKG_URL:= http://linux-test-project.github.io
  14. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ltp/}
  15. PKG_NOPARALLEL:= 1
  16. DISTFILES:= ${PKG_NAME}-full-${PKG_VERSION}.tar.xz
  17. WRKDIST= ${WRKDIR}/${PKG_NAME}-full-${PKG_VERSION}
  18. include $(ADK_TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,LTP,ltp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. TARGET_CPPFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/tirpc
  21. TARGET_LDFLAGS+= -ltirpc
  22. CONFIGURE_ARGS+= --with-open-posix-testsuite \
  23. --with-realtime-testsuite \
  24. --without-power-management-testsuite \
  25. --without-python \
  26. --without-perl \
  27. --without-expect
  28. ltp-install:
  29. $(INSTALL_DIR) $(IDIR_LTP)/opt/ltp
  30. $(CP) $(WRKINST)/usr/* $(IDIR_LTP)/opt/ltp
  31. include ${ADK_TOPDIR}/mk/pkg-bottom.mk