Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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:= 20240129
  6. PKG_RELEASE:= 1
  7. PKG_DESCR:= linux test project
  8. PKG_HASH:= c302f6b2ca09cbb7835f549777bdb9233fe31f7086d7ad8e65472a0804e3e025
  9. PKG_DEPENDS:= bash mke2fs mkfs shadow libtirpc libaio
  10. PKG_DEPENDS+= kmod dosfstools
  11. PKG_BUILDDEP+= libtirpc libaio
  12. PKG_KDEPENDS:= coredump bsd-process-acct ikconfig-proc cgroups
  13. PKG_KDEPENDS+= user-ns net-ns time-ns bpf-syscall blk-dev-loop watch-queue
  14. PKG_NEEDS:= threads
  15. PKG_SECTION:= base/tests
  16. PKG_URL:= http://linux-test-project.github.io
  17. PKG_SITES:= https://github.com/linux-test-project/ltp/releases/download/$(PKG_VERSION)/
  18. PKG_NOPARALLEL:= 1
  19. DISTFILES:= $(PKG_NAME)-full-$(PKG_VERSION).tar.xz
  20. WRKDIST= $(WRKDIR)/$(PKG_NAME)-full-$(PKG_VERSION)
  21. include $(ADK_TOPDIR)/mk/package.mk
  22. $(eval $(call PKG_template,LTP,ltp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  23. CONFIGURE_ARGS+= --with-open-posix-testsuite \
  24. --with-realtime-testsuite \
  25. --without-power-management-testsuite \
  26. --without-python \
  27. --without-perl \
  28. --without-expect \
  29. --disable-metadata
  30. pre-configure:
  31. PATH="$(HOST_PATH)" $(MAKE) -C $(WRKBUILD) autotools
  32. ltp-install:
  33. $(INSTALL_DIR) $(IDIR_LTP)/opt/ltp/tmp
  34. $(CP) $(WRKINST)/usr/* $(IDIR_LTP)/opt/ltp
  35. include ${ADK_TOPDIR}/mk/pkg-bottom.mk