summaryrefslogtreecommitdiff
path: root/package/ltp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/ltp/Makefile')
-rw-r--r--package/ltp/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/package/ltp/Makefile b/package/ltp/Makefile
index b116cff83..0268f15f9 100644
--- a/package/ltp/Makefile
+++ b/package/ltp/Makefile
@@ -4,12 +4,11 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= ltp
-PKG_VERSION:= 20140422
+PKG_VERSION:= 20140828
PKG_RELEASE:= 1
PKG_MD5SUM:= 6a98074e9121595ccb78951ebfeb698f
PKG_DESCR:= linux test project
-PKG_BUILDDEP:= libtirpc
-PKG_DEPENDS:= bash libtirpc libpthread librt
+PKG_DEPENDS:= bash libpthread librt
PKG_DEPENDS+= mke2fs mkfs
PKG_SECTION:= sys/misc
PKG_URL:= http://linux-test-project.github.io
@@ -23,8 +22,8 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LTP,ltp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TARGET_CPPFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/tirpc
-TARGET_LDFLAGS+= -ltirpc
+TARGET_CFLAGS+= -fno-builtin
+XAKE_FLAGS+= GCC_HONOUR_COPTS=s
CONFIGURE_ARGS+= --with-open-posix-testsuite \
--with-realtime-testsuite \
--without-power-management-testsuite \
@@ -32,6 +31,13 @@ CONFIGURE_ARGS+= --with-open-posix-testsuite \
--without-perl \
--without-expect
+# bessel float version not implemented in uClibc
+pre-build:
+ -rm ${WRKBUILD}/testcases/misc/math/float/float_bessel.c
+ -rm -rf ${WRKBUILD}/testcases/misc/math/float/bessel
+ -rm -rf ${WRKBUILD}/testcases/network/{rpc,nfs*}
+ -rm -rf ${WRKBUILD}/testcases/kernel/syscalls/profil
+
ltp-install:
$(INSTALL_DIR) $(IDIR_LTP)/opt/ltp/tmp
$(CP) $(WRKINST)/usr/* $(IDIR_LTP)/opt/ltp