[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View 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

View File

@ -0,0 +1,3 @@
# Locally computed
sha256 e4d05911a3165d3b18321cc067fdd2f023f06436e391c6a28dff618a78d2e733 libpthread-stubs-0.4.tar.bz2
sha256 78c20706e799f2b8f445e71d3d2ade6ba23b3388fd6cbeed7d71796623febde8 COPYING

View 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))