diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-28 14:03:36 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-28 14:19:46 +0200 |
commit | 6bf0b58a0e7dc0ed8781103a42886958a3045504 (patch) | |
tree | eadb52460487cb3102afa76705b7aa337084472c /package/userspace-rcu | |
parent | c441fd1e49c1fa3bf210b89b30c0de270e44fdcf (diff) |
lttng-tools: add new package including dependency
Diffstat (limited to 'package/userspace-rcu')
-rw-r--r-- | package/userspace-rcu/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/userspace-rcu/Makefile b/package/userspace-rcu/Makefile new file mode 100644 index 000000000..9df243279 --- /dev/null +++ b/package/userspace-rcu/Makefile @@ -0,0 +1,30 @@ +# 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:= userspace-rcu +PKG_VERSION:= 0.9.2 +PKG_RELEASE:= 1 +PKG_HASH:= 8f7fa313b1e0a3f742cea24ce63a39c0efe63e615a769e2961e55bd2663ecaa3 +PKG_DESCR:= userspace rcu library +PKG_SECTION:= libs/misc +PKG_URL:= http://lttng.org/ +PKG_SITES:= http://lttng.org/files/urcu/ +PKG_LIBNAME:= liburcu +PKG_OPTS:= dev + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 + +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBURCU,liburcu,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS))) + +CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes + +liburcu-install: + $(INSTALL_DIR) $(IDIR_LIBURCU)/usr/lib + $(CP) $(WRKINST)/usr/lib/liburcu*.so* \ + $(IDIR_LIBURCU)/usr/lib + +include $(ADK_TOPDIR)/mk/pkg-bottom.mk |