summaryrefslogtreecommitdiff
path: root/package/libpthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libpthread/Makefile')
-rw-r--r--package/libpthread/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile
new file mode 100644
index 000000000..483fcc136
--- /dev/null
+++ b/package/libpthread/Makefile
@@ -0,0 +1,25 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+ifeq ($(ADK_TARGET_LIB_GLIBC),y)
+include ${TOPDIR}/toolchain/glibc/Makefile.inc
+else
+include ${TOPDIR}/toolchain/uClibc/Makefile.inc
+endif
+
+PKG_NAME:= libpthread
+NO_DISTFILES:= 1
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBPTHREAD,libpthread,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_LIBPTHREAD}/lib
+ ${CP} ${STAGING_DIR}/lib/libpthread*.so* ${IDIR_LIBPTHREAD}/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk