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
:= 8cc9d5a2ba206f47e757b2203a5fa7a1ef95f8bf841bec1dd7878699dc27b258
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}))
27 TARGET_CFLAGS
:= $(filter-out -flto
,$(TARGET_CFLAGS
))
29 CONFIGURE_ARGS
+= --with-open-posix-testsuite \
30 --with-realtime-testsuite \
31 --without-power-management-testsuite \
37 $(MAKE
) -C
$(WRKBUILD
) autotools
39 # bessel float and mallopt not implemented in uClibc-ng
41 -rm ${WRKBUILD}/testcases
/misc
/math
/float
/float_bessel.c
42 -rm -rf
${WRKBUILD}/testcases
/misc
/math
/float
/bessel
43 -rm -rf
${WRKBUILD}/testcases
/network
/{rpc
,nfs
*}
44 -rm -rf
${WRKBUILD}/testcases
/kernel
/syscalls
/profil
45 -rm -rf
${WRKBUILD}/testcases
/kernel
/syscalls
/mallopt
48 $(INSTALL_DIR
) $(IDIR_LTP
)/opt
/ltp
/tmp
49 $(CP
) $(WRKINST
)/usr
/* $(IDIR_LTP
)/opt
/ltp
51 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk