generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
11
package/libpthread-stubs/Config.in
Normal file
11
package/libpthread-stubs/Config.in
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_LIBPTHREAD_STUBS
|
||||
bool "libpthread-stubs"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
This library provides weak aliases for pthread functions not
|
||||
provided in libc or otherwise available by default.
|
||||
|
||||
http://xcb.freedesktop.org/
|
||||
|
||||
comment "libpthread-stubs needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/libpthread-stubs/libpthread-stubs.hash
Normal file
3
package/libpthread-stubs/libpthread-stubs.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 e4d05911a3165d3b18321cc067fdd2f023f06436e391c6a28dff618a78d2e733 libpthread-stubs-0.4.tar.bz2
|
||||
sha256 78c20706e799f2b8f445e71d3d2ade6ba23b3388fd6cbeed7d71796623febde8 COPYING
|
||||
20
package/libpthread-stubs/libpthread-stubs.mk
Normal file
20
package/libpthread-stubs/libpthread-stubs.mk
Normal file
@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# libpthread-stubs
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBPTHREAD_STUBS_VERSION = 0.4
|
||||
LIBPTHREAD_STUBS_SOURCE = libpthread-stubs-$(LIBPTHREAD_STUBS_VERSION).tar.bz2
|
||||
LIBPTHREAD_STUBS_SITE = http://xcb.freedesktop.org/dist
|
||||
LIBPTHREAD_STUBS_LICENSE = MIT
|
||||
LIBPTHREAD_STUBS_LICENSE_FILES = COPYING
|
||||
|
||||
LIBPTHREAD_STUBS_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
LIBPTHREAD_STUBS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread"
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user