libgpg-error: Fix compiling with uclibc
[openadk.git] / package / ltp / Makefile
blobc13b9489e02162c9147476149255892f7c408b6d
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= ltp
7 PKG_VERSION:= 20210524
8 PKG_RELEASE:= 1
9 PKG_DESCR:= linux test project
10 PKG_HASH:= 831678c64b85a8c24957c71632752537b2266890f2d2f352da9ed0ec45458189
11 PKG_DEPENDS:= bash mke2fs mkfs
12 PKG_NEEDS:= threads
13 PKG_SECTION:= base/tests
14 PKG_URL:= http://linux-test-project.github.io
15 PKG_SITES:= https://github.com/linux-test-project/ltp/releases/download/$(PKG_VERSION)/
16 PKG_NOPARALLEL:= 1
18 DISTFILES:= $(PKG_NAME)-full-$(PKG_VERSION).tar.xz
20 WRKDIST= $(WRKDIR)/$(PKG_NAME)-full-$(PKG_VERSION)
22 include $(ADK_TOPDIR)/mk/package.mk
24 $(eval $(call PKG_template,LTP,ltp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
26 CONFIGURE_ARGS+= --with-open-posix-testsuite \
27 --with-realtime-testsuite \
28 --without-power-management-testsuite \
29 --without-python \
30 --without-perl \
31 --without-expect
33 pre-configure:
34 PATH="$(HOST_PATH)" $(MAKE) -C $(WRKBUILD) autotools
36 # bessel float and mallopt not implemented in uClibc-ng
37 pre-build:
38 -rm ${WRKBUILD}/testcases/misc/math/float/float_bessel.c
39 -rm -rf ${WRKBUILD}/testcases/misc/math/float/bessel
40 -rm -rf ${WRKBUILD}/testcases/network/{rpc,nfs*}
41 -rm -rf ${WRKBUILD}/testcases/kernel/syscalls/profil
42 -rm -rf ${WRKBUILD}/testcases/kernel/syscalls/mallopt
44 ltp-install:
45 $(INSTALL_DIR) $(IDIR_LTP)/opt/ltp/tmp
46 $(CP) $(WRKINST)/usr/* $(IDIR_LTP)/opt/ltp
48 include ${ADK_TOPDIR}/mk/pkg-bottom.mk