summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-13 15:20:29 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-13 15:20:29 +0200
commita5cff4686a5088037d5abaf0881c9adcd585cb8a (patch)
tree30fc3dc4d13864c47ed1821a35ad5663fe533ec4 /package
parent834782259325a8f9af0d7814f3c83da3dca8037f (diff)
fake package in case of libc musl
Diffstat (limited to 'package')
-rw-r--r--package/libpthread/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile
index 04f777650..cf395108d 100644
--- a/package/libpthread/Makefile
+++ b/package/libpthread/Makefile
@@ -9,6 +9,9 @@ endif
ifeq ($(ADK_TARGET_LIB_EGLIBC),y)
include ${TOPDIR}/toolchain/eglibc/Makefile.inc
endif
+ifeq ($(ADK_TARGET_LIB_MUSL),y)
+include ${TOPDIR}/toolchain/musl/Makefile.inc
+endif
ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
include ${TOPDIR}/toolchain/uClibc/Makefile.inc
endif
@@ -41,7 +44,9 @@ INSTALL_STYLE:= manual
libpthread-install:
ifeq ($(ADK_NATIVE),)
${INSTALL_DIR} ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH)
+ifeq ($(ADK_TARGET_LIB_MUSL),)
${CP} ${STAGING_TARGET_DIR}/lib/libpthread*.so* ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH)
endif
+endif
include ${TOPDIR}/mk/pkg-bottom.mk