mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
control pthread support since some arches like x86_64 dont yet support it in uClibc
This commit is contained in:
parent
59a63a91eb
commit
272e7fda19
@ -1,3 +1,9 @@
|
|||||||
|
ifeq ($(BR2_PTHREADS),y)
|
||||||
|
THREADS:=--enable-threads
|
||||||
|
else
|
||||||
|
THREADS:=--disable-threads
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_ENABLE_MULTILIB),y)
|
ifeq ($(BR2_ENABLE_MULTILIB),y)
|
||||||
MULTILIB:=--enable-multilib
|
MULTILIB:=--enable-multilib
|
||||||
else
|
else
|
||||||
|
@ -109,6 +109,7 @@ $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched
|
|||||||
--enable-target-optspace \
|
--enable-target-optspace \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
$(DISABLE_NLS) \
|
$(DISABLE_NLS) \
|
||||||
|
$(THREADS) \
|
||||||
$(MULTILIB) \
|
$(MULTILIB) \
|
||||||
$(SOFT_FLOAT_CONFIG_OPTION) \
|
$(SOFT_FLOAT_CONFIG_OPTION) \
|
||||||
$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
|
$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
|
||||||
@ -163,6 +164,7 @@ $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(STAGING_DIR)/lib/libc.a
|
|||||||
--enable-target-optspace \
|
--enable-target-optspace \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
$(DISABLE_NLS) \
|
$(DISABLE_NLS) \
|
||||||
|
$(THREADS) \
|
||||||
$(MULTILIB) \
|
$(MULTILIB) \
|
||||||
$(SOFT_FLOAT_CONFIG_OPTION) \
|
$(SOFT_FLOAT_CONFIG_OPTION) \
|
||||||
$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
|
$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
|
||||||
@ -279,6 +281,7 @@ $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR2)/.installed
|
|||||||
--enable-target-optspace \
|
--enable-target-optspace \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
$(DISABLE_NLS) \
|
$(DISABLE_NLS) \
|
||||||
|
$(THREADS) \
|
||||||
$(MULTILIB) \
|
$(MULTILIB) \
|
||||||
$(SOFT_FLOAT_CONFIG_OPTION) \
|
$(SOFT_FLOAT_CONFIG_OPTION) \
|
||||||
$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
|
$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
|
||||||
|
@ -22,9 +22,16 @@ config BR2_ENABLE_LOCALE
|
|||||||
help
|
help
|
||||||
Enable locale/gettext/i18n support?
|
Enable locale/gettext/i18n support?
|
||||||
|
|
||||||
|
config BR2_PTHREADS
|
||||||
|
bool "Enable thread support"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Enable support for libpthreads
|
||||||
|
|
||||||
config BR2_PTHREADS_NATIVE
|
config BR2_PTHREADS_NATIVE
|
||||||
bool "Enable Native POSIX Threading (NPTL) support?"
|
bool "Enable Native POSIX Threading (NPTL) support?"
|
||||||
default n
|
default n
|
||||||
|
depends on BR2_PTHREADS
|
||||||
help
|
help
|
||||||
Enable Native POSIX Threading (NPTL) support?
|
Enable Native POSIX Threading (NPTL) support?
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user