summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-12-12 05:53:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2023-12-12 05:55:08 +0100
commite4b4f87c2f424ee5a39687b3807188436ce471e4 (patch)
treebbd5cd81d2bb89e9da847ff8d2599b5c7e0cdd7b
parentc7b30bdd07eeda3f18fa0d1fe4138f22d14850e6 (diff)
arm: update uclibc.config
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
-rw-r--r--target/arm/uclibc-ng.config7
-rw-r--r--toolchain/uclibc-ng/Makefile1
2 files changed, 8 insertions, 0 deletions
diff --git a/target/arm/uclibc-ng.config b/target/arm/uclibc-ng.config
index f8efc5729..bf7e83f82 100644
--- a/target/arm/uclibc-ng.config
+++ b/target/arm/uclibc-ng.config
@@ -44,6 +44,11 @@ TARGET_ARCH="arm"
FORCE_OPTIONS_FOR_ARCH=y
CONFIG_ARM_EABI=y
TARGET_SUBARCH=""
+# UCLIBC_FORMAT_ELF is not set
+# UCLIBC_FORMAT_FDPIC_ELF is not set
+# UCLIBC_FORMAT_FLAT is not set
+# UCLIBC_FORMAT_FLAT_SEP_DATA is not set
+# UCLIBC_FORMAT_SHARED_FLAT is not set
#
# Using ELF file format
@@ -70,6 +75,7 @@ HAVE_DOT_CONFIG=y
DOPIC=y
# STATIC_PIE is not set
ARCH_HAS_UCONTEXT=y
+HAVE_LDSO=y
HAVE_SHARED=y
# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
LDSO_LDD_SUPPORT=y
@@ -93,6 +99,7 @@ UCLIBC_HAS_THREADS_NATIVE=y
UCLIBC_HAS_THREADS=y
UCLIBC_HAS_TLS=y
PTHREADS_DEBUG_SUPPORT=y
+PTHREADS_STACK_DEFAULT_SIZE=2097152
UCLIBC_HAS_SYSLOG=y
UCLIBC_HAS_LFS=y
# MALLOC is not set
diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile
index e07ab8ece..26e97bef4 100644
--- a/toolchain/uclibc-ng/Makefile
+++ b/toolchain/uclibc-ng/Makefile
@@ -82,6 +82,7 @@ ifeq ($(ADK_TARGET_HARD_FLOAT_DP),y)
endif
ifeq ($(ADK_TARGET_BINFMT_FDPIC),y)
$(SED) 's/.*\(UCLIBC_FORMAT_FDPIC_ELF\).*/\1=y/' ${WRKBUILD}/.config
+ $(SED) 's/.*\(UCLIBC_FORMAT_ELF\).*/# \1 is not set/' ${WRKBUILD}/.config
$(SED) 's/.*\(UCLIBC_FORMAT_FLAT\).*/# \1 is not set/' ${WRKBUILD}/.config
$(SED) 's/.*\(UCLIBC_FORMAT_FLAT_SEP_DATA\).*/# \1 is not set/' ${WRKBUILD}/.config
$(SED) 's/.*\(UCLIBC_FORMAT_SHARED_FLAT\).*/# \1 is not set/' ${WRKBUILD}/.config