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
9 PKG_DESCR
:= linux
test project
10 PKG_HASH
:= 831678c64b85a8c24957c71632752537b2266890f2d2f352da9ed0ec45458189
11 PKG_DEPENDS
:= bash mke2fs mkfs
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
)/
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 \
34 PATH
="$(HOST_PATH)" $(MAKE
) -C
$(WRKBUILD
) autotools
36 # bessel float and mallopt not implemented in uClibc-ng
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
45 $(INSTALL_DIR
) $(IDIR_LTP
)/opt
/ltp
/tmp
46 $(CP
) $(WRKINST
)/usr
/* $(IDIR_LTP
)/opt
/ltp
48 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk