summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-27 21:07:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-27 21:07:46 +0200
commitb38ddb748be02e1a8d340520c50819f15a78a30c (patch)
treee36bb3e296f885bdc47248935e1a847a5fd0d750
parent120fa5a3bfee8bdbdf2441cdd1b5aff0e4513db4 (diff)
add ltp package, add more uClibc options to have a wider test range
-rw-r--r--package/ltp/Makefile39
-rw-r--r--package/ltp/patches/patch-runtest_sched13
-rw-r--r--package/ltp/patches/patch-testcases_realtime_lib_libstats_c16
-rw-r--r--target/alpha/uclibc.config10
-rw-r--r--target/arm/uclibc.config10
-rw-r--r--target/linux/config/Config.in.block5
-rw-r--r--target/mips/uclibc.config10
-rw-r--r--target/mips64/uclibc.config10
-rw-r--r--target/ppc/uclibc.config10
-rw-r--r--target/sh/uclibc.config10
-rw-r--r--target/sparc/uclibc.config10
-rw-r--r--target/x86/uclibc.config10
-rw-r--r--target/x86_64/uclibc.config10
-rw-r--r--target/xtensa/uclibc.config10
14 files changed, 123 insertions, 50 deletions
diff --git a/package/ltp/Makefile b/package/ltp/Makefile
new file mode 100644
index 000000000..4303da72f
--- /dev/null
+++ b/package/ltp/Makefile
@@ -0,0 +1,39 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= ltp
+PKG_VERSION:= 20140422
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 6a98074e9121595ccb78951ebfeb698f
+PKG_DESCR:= linux test project
+PKG_BUILDDEP:= libtirpc
+PKG_DEPENDS:= bash libtirpc libpthread librt
+PKG_DEPENDS+= mke2fs
+PKG_SECTION:= sys/misc
+PKG_URL:= http://linux-test-project.github.io
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ltp/}
+PKG_NOPARALLEL:= 1
+
+DISTFILES:= ${PKG_NAME}-full-${PKG_VERSION}.tar.xz
+WRKDIST= ${WRKDIR}/${PKG_NAME}-full-${PKG_VERSION}
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LTP,ltp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+TARGET_CPPFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/tirpc
+TARGET_LDFLAGS+= -ltirpc
+CONFIGURE_ARGS+= --with-open-posix-testsuite \
+ --with-realtime-testsuite \
+ --without-power-management-testsuite \
+ --without-python \
+ --without-perl \
+ --without-expect
+
+ltp-install:
+ $(INSTALL_DIR) $(IDIR_LTP)/opt/ltp
+ $(CP) $(WRKINST)/usr/* $(IDIR_LTP)/opt/ltp
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ltp/patches/patch-runtest_sched b/package/ltp/patches/patch-runtest_sched
new file mode 100644
index 000000000..a157cb0af
--- /dev/null
+++ b/package/ltp/patches/patch-runtest_sched
@@ -0,0 +1,13 @@
+--- ltp-full-20140422.orig/runtest/sched 2014-04-23 10:36:54.000000000 +0200
++++ ltp-full-20140422/runtest/sched 2014-06-27 15:02:00.941026480 +0200
+@@ -6,8 +6,8 @@ pth_str03 pth_str03
+ time-schedule01 time-schedule
+ trace_sched01 trace_sched -c 1
+
+-hackbench01 hackbench 50 process 1000
+-hackbench02 hackbench 20 thread 1000
++hackbench01 hackbench 50 process 500
++hackbench02 hackbench 20 thread 500
+
+ sched_cli_serv run_sched_cliserv.sh
+ # Run this stress test for 2 minutes
diff --git a/package/ltp/patches/patch-testcases_realtime_lib_libstats_c b/package/ltp/patches/patch-testcases_realtime_lib_libstats_c
new file mode 100644
index 000000000..d35130dc4
--- /dev/null
+++ b/package/ltp/patches/patch-testcases_realtime_lib_libstats_c
@@ -0,0 +1,16 @@
+from buildroot
+
+--- ltp-full-20140422.orig/testcases/realtime/lib/libstats.c 2014-04-23 10:37:00.000000000 +0200
++++ ltp-full-20140422/testcases/realtime/lib/libstats.c 2014-06-27 10:55:59.401744516 +0200
+@@ -46,6 +46,11 @@
+ #include <libstats.h>
+ #include <librttest.h>
+
++#ifdef __UCLIBC__
++/* 10^x = 10^(log e^x) = (e^x)^log10 = e^(x * log 10) */
++#define exp10(x) (exp((x) * log(10)))
++#endif /* __UCLIBC__ */
++
+ int save_stats = 0;
+
+ /* static helper functions */
diff --git a/target/alpha/uclibc.config b/target/alpha/uclibc.config
index 46e5817c0..9623db661 100644
--- a/target/alpha/uclibc.config
+++ b/target/alpha/uclibc.config
@@ -52,7 +52,7 @@ ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
DO_C99_MATH=y
-# DO_XSI_MATH is not set
+DO_XSI_MATH=y
UCLIBC_HAS_FENV=y
KERNEL_HEADERS=""
HAVE_DOT_CONFIG=y
@@ -80,7 +80,7 @@ MALLOC_GLIBC_COMPAT=y
UCLIBC_HAS_OBSTACK=y
UCLIBC_DYNAMIC_ATEXIT=y
COMPAT_ATEXIT=y
-# UCLIBC_SUSV2_LEGACY is not set
+UCLIBC_SUSV2_LEGACY=y
UCLIBC_SUSV3_LEGACY=y
# UCLIBC_SUSV3_LEGACY_MACROS is not set
UCLIBC_SUSV4_LEGACY=y
@@ -116,14 +116,14 @@ UCLIBC_LINUX_SPECIFIC=y
UCLIBC_HAS_GNU_ERROR=y
UCLIBC_BSD_SPECIFIC=y
UCLIBC_HAS_BSD_ERR=y
-# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
# UCLIBC_NTP_LEGACY is not set
-# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_SV4_DEPRECATED=y
UCLIBC_HAS_REALTIME=y
UCLIBC_HAS_ADVANCED_REALTIME=y
UCLIBC_HAS_EPOLL=y
-# UCLIBC_HAS_XATTR is not set
+UCLIBC_HAS_XATTR=y
# UCLIBC_HAS_PROFILING is not set
UCLIBC_HAS_CRYPT_IMPL=y
# UCLIBC_HAS_SHA256_CRYPT_IMPL is not set
diff --git a/target/arm/uclibc.config b/target/arm/uclibc.config
index 29954dde8..cef957518 100644
--- a/target/arm/uclibc.config
+++ b/target/arm/uclibc.config
@@ -55,7 +55,7 @@ UCLIBC_HAS_FLOATS=y
# UCLIBC_HAS_FPU is not set
UCLIBC_HAS_SOFT_FLOAT=y
DO_C99_MATH=y
-# DO_XSI_MATH is not set
+DO_XSI_MATH=y
UCLIBC_HAS_FENV=y
KERNEL_HEADERS=""
HAVE_DOT_CONFIG=y
@@ -98,7 +98,7 @@ MALLOC_GLIBC_COMPAT=y
UCLIBC_HAS_OBSTACK=y
UCLIBC_DYNAMIC_ATEXIT=y
COMPAT_ATEXIT=y
-# UCLIBC_SUSV2_LEGACY is not set
+UCLIBC_SUSV2_LEGACY=y
UCLIBC_SUSV3_LEGACY=y
# UCLIBC_HAS_CONTEXT_FUNCS is not set
# UCLIBC_SUSV3_LEGACY_MACROS is not set
@@ -135,14 +135,14 @@ UCLIBC_LINUX_SPECIFIC=y
UCLIBC_HAS_GNU_ERROR=y
UCLIBC_BSD_SPECIFIC=y
UCLIBC_HAS_BSD_ERR=y
-# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
# UCLIBC_NTP_LEGACY is not set
-# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_SV4_DEPRECATED=yes
UCLIBC_HAS_REALTIME=y
UCLIBC_HAS_ADVANCED_REALTIME=y
UCLIBC_HAS_EPOLL=y
-# UCLIBC_HAS_XATTR is not set
+UCLIBC_HAS_XATTR=y
# UCLIBC_HAS_PROFILING is not set
UCLIBC_HAS_CRYPT_IMPL=y
# UCLIBC_HAS_SHA256_CRYPT_IMPL is not set
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index c67e756f4..135bd3eb8 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -24,6 +24,9 @@ config ADK_KERNEL_IOSCHED_DEADLINE
config ADK_KERNEL_IOSCHED_CFQ
boolean
+config ADK_KERNEL_SCSI_LOWLEVEL
+ boolean
+
config ADK_KERNEL_SCSI_DMA
boolean
@@ -241,6 +244,7 @@ config ADK_KERNEL_SCSI_SYM53C8XX_2
prompt "Symbios Logic 53C8XX2 support"
tristate
select ADK_KERNEL_SCSI
+ select ADK_KERNEL_SCSI_LOWLEVEL
select ADK_KERNEL_BLK_DEV
select ADK_KERNEL_BLK_DEV_SD
depends on ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB
@@ -450,6 +454,7 @@ config ADK_KERNEL_BLK_DEV_LOOP
tristate
select ADK_KERNEL_BLK_DEV
default m if ADK_PACKAGE_LOSETUP
+ default m if ADK_PACKAGE_LTP
default n
help
Saying Y here will allow you to use a regular file as a block
diff --git a/target/mips/uclibc.config b/target/mips/uclibc.config
index e849ad406..43a901caa 100644
--- a/target/mips/uclibc.config
+++ b/target/mips/uclibc.config
@@ -61,7 +61,7 @@ ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
DO_C99_MATH=y
-# DO_XSI_MATH is not set
+DO_XSI_MATH=y
UCLIBC_HAS_FENV=y
KERNEL_HEADERS=""
HAVE_DOT_CONFIG=y
@@ -104,7 +104,7 @@ MALLOC_GLIBC_COMPAT=y
UCLIBC_HAS_OBSTACK=y
UCLIBC_DYNAMIC_ATEXIT=y
COMPAT_ATEXIT=y
-# UCLIBC_SUSV2_LEGACY is not set
+UCLIBC_SUSV2_LEGACY=y
UCLIBC_SUSV3_LEGACY=y
# UCLIBC_HAS_CONTEXT_FUNCS is not set
# UCLIBC_SUSV3_LEGACY_MACROS is not set
@@ -141,14 +141,14 @@ UCLIBC_LINUX_SPECIFIC=y
UCLIBC_HAS_GNU_ERROR=y
UCLIBC_BSD_SPECIFIC=y
UCLIBC_HAS_BSD_ERR=y
-# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
# UCLIBC_NTP_LEGACY is not set
-# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_SV4_DEPRECATED=y
UCLIBC_HAS_REALTIME=y
UCLIBC_HAS_ADVANCED_REALTIME=y
UCLIBC_HAS_EPOLL=y
-# UCLIBC_HAS_XATTR is not set
+UCLIBC_HAS_XATTR=y
# UCLIBC_HAS_PROFILING is not set
UCLIBC_HAS_CRYPT_IMPL=y
# UCLIBC_HAS_SHA256_CRYPT_IMPL is not set
diff --git a/target/mips64/uclibc.config b/target/mips64/uclibc.config
index e849ad406..3ceaeaf64 100644
--- a/target/mips64/uclibc.config
+++ b/target/mips64/uclibc.config
@@ -61,7 +61,7 @@ ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
DO_C99_MATH=y
-# DO_XSI_MATH is not set
+DO_XSI_MATH=y
UCLIBC_HAS_FENV=y
KERNEL_HEADERS=""
HAVE_DOT_CONFIG=y
@@ -104,7 +104,7 @@ MALLOC_GLIBC_COMPAT=y
UCLIBC_HAS_OBSTACK=y
UCLIBC_DYNAMIC_ATEXIT=y
COMPAT_ATEXIT=y
-# UCLIBC_SUSV2_LEGACY is not set
+UCLIBC_SUSV2_LEGACY=y
UCLIBC_SUSV3_LEGACY=y
# UCLIBC_HAS_CONTEXT_FUNCS is not set
# UCLIBC_SUSV3_LEGACY_MACROS is not set
@@ -141,14 +141,14 @@ UCLIBC_LINUX_SPECIFIC=y
UCLIBC_HAS_GNU_ERROR=y
UCLIBC_BSD_SPECIFIC=y
UCLIBC_HAS_BSD_ERR=y
-# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
# UCLIBC_NTP_LEGACY is not set
-# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_SV4_DEPRECATED=y
UCLIBC_HAS_REALTIME=y
UCLIBC_HAS_ADVANCED_REALTIME=y
UCLIBC_HAS_EPOLL=y
-# UCLIBC_HAS_XATTR is not set
+UCLIBC_HAS_XATTR=y
# UCLIBC_HAS_PROFILING is not set
UCLIBC_HAS_CRYPT_IMPL=y
# UCLIBC_HAS_SHA256_CRYPT_IMPL is not set
diff --git a/target/ppc/uclibc.config b/target/ppc/uclibc.config
index 51e4cb913..3106d1912 100644
--- a/target/ppc/uclibc.config
+++ b/target/ppc/uclibc.config
@@ -54,7 +54,7 @@ ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
DO_C99_MATH=y
-# DO_XSI_MATH is not set
+DO_XSI_MATH=y
UCLIBC_HAS_FENV=y
UCLIBC_HAS_LONG_DOUBLE_MATH=y
KERNEL_HEADERS=""
@@ -97,7 +97,7 @@ MALLOC_GLIBC_COMPAT=y
UCLIBC_HAS_OBSTACK=y
UCLIBC_DYNAMIC_ATEXIT=y
COMPAT_ATEXIT=y
-# UCLIBC_SUSV2_LEGACY is not set
+UCLIBC_SUSV2_LEGACY=y
UCLIBC_SUSV3_LEGACY=y
# UCLIBC_SUSV3_LEGACY_MACROS is not set
UCLIBC_SUSV4_LEGACY=y
@@ -133,14 +133,14 @@ UCLIBC_LINUX_SPECIFIC=y
UCLIBC_HAS_GNU_ERROR=y
UCLIBC_BSD_SPECIFIC=y
UCLIBC_HAS_BSD_ERR=y
-# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
# UCLIBC_NTP_LEGACY is not set
-# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_SV4_DEPRECATED=y
UCLIBC_HAS_REALTIME=y
UCLIBC_HAS_ADVANCED_REALTIME=y
UCLIBC_HAS_EPOLL=y
-# UCLIBC_HAS_XATTR is not set
+UCLIBC_HAS_XATTR=y
# UCLIBC_HAS_PROFILING is not set
UCLIBC_HAS_CRYPT_IMPL=y
# UCLIBC_HAS_SHA256_CRYPT_IMPL is not set
diff --git a/target/sh/uclibc.config b/target/sh/uclibc.config
index 3385b3fc8..270e5965e 100644
--- a/target/sh/uclibc.config
+++ b/target/sh/uclibc.config
@@ -56,7 +56,7 @@ ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
DO_C99_MATH=y
-# DO_XSI_MATH is not set
+DO_XSI_MATH=y
UCLIBC_HAS_FENV=y
UCLIBC_HAS_LONG_DOUBLE_MATH=y
KERNEL_HEADERS=""
@@ -99,7 +99,7 @@ MALLOC_GLIBC_COMPAT=y
UCLIBC_HAS_OBSTACK=y
UCLIBC_DYNAMIC_ATEXIT=y
COMPAT_ATEXIT=y
-# UCLIBC_SUSV2_LEGACY is not set
+UCLIBC_SUSV2_LEGACY=y
UCLIBC_SUSV3_LEGACY=y
# UCLIBC_SUSV3_LEGACY_MACROS is not set
UCLIBC_SUSV4_LEGACY=y
@@ -135,14 +135,14 @@ UCLIBC_LINUX_SPECIFIC=y
UCLIBC_HAS_GNU_ERROR=y
UCLIBC_BSD_SPECIFIC=y
UCLIBC_HAS_BSD_ERR=y
-# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
# UCLIBC_NTP_LEGACY is not set
-# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_SV4_DEPRECATED=y
UCLIBC_HAS_REALTIME=y
UCLIBC_HAS_ADVANCED_REALTIME=y
UCLIBC_HAS_EPOLL=y
-# UCLIBC_HAS_XATTR is not set
+UCLIBC_HAS_XATTR=y
# UCLIBC_HAS_PROFILING is not set
UCLIBC_HAS_CRYPT_IMPL=y
# UCLIBC_HAS_SHA256_CRYPT_IMPL is not set
diff --git a/target/sparc/uclibc.config b/target/sparc/uclibc.config
index 12d22f5e2..a9ce82272 100644
--- a/target/sparc/uclibc.config
+++ b/target/sparc/uclibc.config
@@ -56,7 +56,7 @@ ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
DO_C99_MATH=y
-# DO_XSI_MATH is not set
+DO_XSI_MATH=y
UCLIBC_HAS_FENV=y
UCLIBC_HAS_LONG_DOUBLE_MATH=y
KERNEL_HEADERS=""
@@ -99,7 +99,7 @@ MALLOC_GLIBC_COMPAT=y
UCLIBC_HAS_OBSTACK=y
UCLIBC_DYNAMIC_ATEXIT=y
COMPAT_ATEXIT=y
-# UCLIBC_SUSV2_LEGACY is not set
+UCLIBC_SUSV2_LEGACY=y
UCLIBC_SUSV3_LEGACY=y
# UCLIBC_SUSV3_LEGACY_MACROS is not set
UCLIBC_SUSV4_LEGACY=y
@@ -135,14 +135,14 @@ UCLIBC_LINUX_SPECIFIC=y
UCLIBC_HAS_GNU_ERROR=y
UCLIBC_BSD_SPECIFIC=y
UCLIBC_HAS_BSD_ERR=y
-# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
# UCLIBC_NTP_LEGACY is not set
-# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_SV4_DEPRECATED=y
UCLIBC_HAS_REALTIME=y
UCLIBC_HAS_ADVANCED_REALTIME=y
UCLIBC_HAS_EPOLL=y
-# UCLIBC_HAS_XATTR is not set
+UCLIBC_HAS_XATTR=y
# UCLIBC_HAS_PROFILING is not set
UCLIBC_HAS_CRYPT_IMPL=y
# UCLIBC_HAS_SHA256_CRYPT_IMPL is not set
diff --git a/target/x86/uclibc.config b/target/x86/uclibc.config
index a18ebd82f..9ac3238b9 100644
--- a/target/x86/uclibc.config
+++ b/target/x86/uclibc.config
@@ -56,7 +56,7 @@ ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
DO_C99_MATH=y
-# DO_XSI_MATH is not set
+DO_XSI_MATH=y
UCLIBC_HAS_FENV=y
UCLIBC_HAS_LONG_DOUBLE_MATH=y
KERNEL_HEADERS=""
@@ -100,7 +100,7 @@ MALLOC_GLIBC_COMPAT=y
UCLIBC_HAS_OBSTACK=y
UCLIBC_DYNAMIC_ATEXIT=y
COMPAT_ATEXIT=y
-# UCLIBC_SUSV2_LEGACY is not set
+UCLIBC_SUSV2_LEGACY=y
UCLIBC_SUSV3_LEGACY=y
# UCLIBC_HAS_CONTEXT_FUNCS is not set
# UCLIBC_SUSV3_LEGACY_MACROS is not set
@@ -137,14 +137,14 @@ UCLIBC_LINUX_SPECIFIC=y
UCLIBC_HAS_GNU_ERROR=y
UCLIBC_BSD_SPECIFIC=y
UCLIBC_HAS_BSD_ERR=y
-# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
# UCLIBC_NTP_LEGACY is not set
-# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_SV4_DEPRECATED=y
UCLIBC_HAS_REALTIME=y
UCLIBC_HAS_ADVANCED_REALTIME=y
UCLIBC_HAS_EPOLL=y
-# UCLIBC_HAS_XATTR is not set
+UCLIBC_HAS_XATTR=y
# UCLIBC_HAS_PROFILING is not set
UCLIBC_HAS_CRYPT_IMPL=y
# UCLIBC_HAS_SHA256_CRYPT_IMPL is not set
diff --git a/target/x86_64/uclibc.config b/target/x86_64/uclibc.config
index cecc2fb3f..e5524807c 100644
--- a/target/x86_64/uclibc.config
+++ b/target/x86_64/uclibc.config
@@ -52,7 +52,7 @@ ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
DO_C99_MATH=y
-# DO_XSI_MATH is not set
+DO_XSI_MATH=y
UCLIBC_HAS_FENV=y
UCLIBC_HAS_LONG_DOUBLE_MATH=y
KERNEL_HEADERS=""
@@ -96,7 +96,7 @@ MALLOC_GLIBC_COMPAT=y
UCLIBC_HAS_OBSTACK=y
UCLIBC_DYNAMIC_ATEXIT=y
COMPAT_ATEXIT=y
-# UCLIBC_SUSV2_LEGACY is not set
+UCLIBC_SUSV2_LEGACY=y
UCLIBC_SUSV3_LEGACY=y
# UCLIBC_HAS_CONTEXT_FUNCS is not set
# UCLIBC_SUSV3_LEGACY_MACROS is not set
@@ -133,14 +133,14 @@ UCLIBC_LINUX_SPECIFIC=y
UCLIBC_HAS_GNU_ERROR=y
UCLIBC_BSD_SPECIFIC=y
UCLIBC_HAS_BSD_ERR=y
-# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
# UCLIBC_NTP_LEGACY is not set
-# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_SV4_DEPRECATED=y
UCLIBC_HAS_REALTIME=y
UCLIBC_HAS_ADVANCED_REALTIME=y
UCLIBC_HAS_EPOLL=y
-# UCLIBC_HAS_XATTR is not set
+UCLIBC_HAS_XATTR=y
# UCLIBC_HAS_PROFILING is not set
UCLIBC_HAS_CRYPT_IMPL=y
# UCLIBC_HAS_SHA256_CRYPT_IMPL is not set
diff --git a/target/xtensa/uclibc.config b/target/xtensa/uclibc.config
index ff0229e01..b48df3454 100644
--- a/target/xtensa/uclibc.config
+++ b/target/xtensa/uclibc.config
@@ -47,7 +47,7 @@ ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
DO_C99_MATH=y
-# DO_XSI_MATH is not set
+DO_XSI_MATH=y
UCLIBC_HAS_FENV=yes
KERNEL_HEADERS=""
HAVE_DOT_CONFIG=y
@@ -88,7 +88,7 @@ MALLOC_GLIBC_COMPAT=y
UCLIBC_HAS_OBSTACK=y
UCLIBC_DYNAMIC_ATEXIT=y
COMPAT_ATEXIT=y
-# UCLIBC_SUSV2_LEGACY is not set
+UCLIBC_SUSV2_LEGACY=y
UCLIBC_SUSV3_LEGACY=y
# UCLIBC_SUSV3_LEGACY_MACROS is not set
UCLIBC_SUSV4_LEGACY=y
@@ -124,14 +124,14 @@ UCLIBC_LINUX_SPECIFIC=y
UCLIBC_HAS_GNU_ERROR=y
UCLIBC_BSD_SPECIFIC=y
UCLIBC_HAS_BSD_ERR=y
-# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
# UCLIBC_NTP_LEGACY is not set
-# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_SV4_DEPRECATED=y
UCLIBC_HAS_REALTIME=y
UCLIBC_HAS_ADVANCED_REALTIME=y
UCLIBC_HAS_EPOLL=y
-# UCLIBC_HAS_XATTR is not set
+UCLIBC_HAS_XATTR=y
# UCLIBC_HAS_PROFILING is not set
UCLIBC_HAS_CRYPT_IMPL=y
# UCLIBC_HAS_SHA256_CRYPT_IMPL is not set