kumquat-buildroot/package/jemalloc/Config.in
Thomas De Schampheleire a7d07b5852 jemalloc: allow on MIPS64
jemalloc uses architecture #ifdefs to determine LG_QUANTUM and gives an
error when an unsupported architecture is used.
For this reason, Buildroot commit 3baf996c6a
introduced BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS.

In the jemalloc sources, 'mips' is checked via '__mips__' which is set both
for 32-bit as 64-bit MIPS (including MIPS64 n32).
However, the Buildroot arch selection only includes 32-bit MIPS via BR2_mips
and BR2_mipsel.

Update the arch selection to support MIPS64.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-01-28 23:01:09 +01:00

26 lines
838 B
Plaintext

config BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
bool
default y if BR2_arm || BR2_armeb
default y if BR2_aarch64 || BR2_aarch64_be
default y if BR2_i386 || BR2_x86_64
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
default y if BR2_sparc64
default y if BR2_powerpc
default y if BR2_sh4 || BR2sh4eb || BR2_sh4a || BR2_sh4aeb
config BR2_PACKAGE_JEMALLOC
bool "jemalloc"
depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_THREADS
help
This library providing a malloc(3) implementation that
emphasizes fragmentation avoidance and scalable concurrency
support.
http://jemalloc.net/
comment "jemalloc needs a toolchain w/ dynamic library, threads"
depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS