mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
package/ltp-testsuite: fix build with musl-fts
Fixes: - http://autobuild.buildroot.org/results/7a4b54768584b2ec95f7f5c0932d0161ab8e43d5 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
b8cf282fa0
commit
86f4dc0778
@ -15,6 +15,7 @@ config BR2_PACKAGE_LTP_TESTSUITE
|
|||||||
depends on !BR2_TOOLCHAIN_USES_MUSL
|
depends on !BR2_TOOLCHAIN_USES_MUSL
|
||||||
depends on BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS
|
||||||
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||||
|
select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
|
||||||
help
|
help
|
||||||
The Linux Test Project provides a huge testsuite for Linux.
|
The Linux Test Project provides a huge testsuite for Linux.
|
||||||
|
|
||||||
|
@ -51,13 +51,18 @@ LTP_TESTSUITE_CFLAGS += "`$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`"
|
|||||||
LTP_TESTSUITE_LIBS += "`$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`"
|
LTP_TESTSUITE_LIBS += "`$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),)
|
||||||
|
LTP_TESTSUITE_DEPENDENCIES += musl-fts
|
||||||
|
LTP_TESTSUITE_LIBS += -lfts
|
||||||
|
endif
|
||||||
|
|
||||||
LTP_TESTSUITE_CONF_ENV += \
|
LTP_TESTSUITE_CONF_ENV += \
|
||||||
CFLAGS="$(LTP_TESTSUITE_CFLAGS)" \
|
CFLAGS="$(LTP_TESTSUITE_CFLAGS)" \
|
||||||
CPPFLAGS="$(LTP_TESTSUITE_CPPFLAGS)" \
|
CPPFLAGS="$(LTP_TESTSUITE_CPPFLAGS)" \
|
||||||
LIBS="$(LTP_TESTSUITE_LIBS)" \
|
LIBS="$(LTP_TESTSUITE_LIBS)" \
|
||||||
SYSROOT="$(STAGING_DIR)"
|
SYSROOT="$(STAGING_DIR)"
|
||||||
|
|
||||||
# Requires uClibc fts and bessel support, normally not enabled
|
# Requires uClibc bessel support, normally not enabled
|
||||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
||||||
define LTP_TESTSUITE_REMOVE_UNSUPPORTED
|
define LTP_TESTSUITE_REMOVE_UNSUPPORTED
|
||||||
rm -rf $(@D)/testcases/misc/math/float/bessel/
|
rm -rf $(@D)/testcases/misc/math/float/bessel/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user