summaryrefslogtreecommitdiff
path: root/package/ltp/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-27 21:07:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-27 21:07:46 +0200
commitb38ddb748be02e1a8d340520c50819f15a78a30c (patch)
treee36bb3e296f885bdc47248935e1a847a5fd0d750 /package/ltp/Makefile
parent120fa5a3bfee8bdbdf2441cdd1b5aff0e4513db4 (diff)
add ltp package, add more uClibc options to have a wider test range
Diffstat (limited to 'package/ltp/Makefile')
-rw-r--r--package/ltp/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/package/ltp/Makefile b/package/ltp/Makefile
new file mode 100644
index 000000000..4303da72f
--- /dev/null
+++ b/package/ltp/Makefile
@@ -0,0 +1,39 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= ltp
+PKG_VERSION:= 20140422
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 6a98074e9121595ccb78951ebfeb698f
+PKG_DESCR:= linux test project
+PKG_BUILDDEP:= libtirpc
+PKG_DEPENDS:= bash libtirpc libpthread librt
+PKG_DEPENDS+= mke2fs
+PKG_SECTION:= sys/misc
+PKG_URL:= http://linux-test-project.github.io
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ltp/}
+PKG_NOPARALLEL:= 1
+
+DISTFILES:= ${PKG_NAME}-full-${PKG_VERSION}.tar.xz
+WRKDIST= ${WRKDIR}/${PKG_NAME}-full-${PKG_VERSION}
+
+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
+CONFIGURE_ARGS+= --with-open-posix-testsuite \
+ --with-realtime-testsuite \
+ --without-power-management-testsuite \
+ --without-python \
+ --without-perl \
+ --without-expect
+
+ltp-install:
+ $(INSTALL_DIR) $(IDIR_LTP)/opt/ltp
+ $(CP) $(WRKINST)/usr/* $(IDIR_LTP)/opt/ltp
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk