mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Add TCMALLOC_SUPPORT parameter to add libtcmalloc_minimal to the image
This commit is contained in:
parent
780c7a3db0
commit
d6d915d0cc
@ -33,8 +33,10 @@ TARGET_ARCH="${ARCH}"
|
||||
# include arm-mem package on arm
|
||||
if [ "${TARGET_ARCH}" = "arm" ]; then
|
||||
ARM_MEM_SUPPORT="yes"
|
||||
TCMALLOC_SUPPORT="yes"
|
||||
else
|
||||
ARM_MEM_SUPPORT="no"
|
||||
TCMALLOC_SUPPORT="no"
|
||||
fi
|
||||
|
||||
# include helper functions
|
||||
|
@ -16,3 +16,7 @@ if [ "${ARM_MEM_SUPPORT}" = "yes" ]; then
|
||||
PKG_DEPENDS_TARGET+=" arm-mem"
|
||||
PKG_DEPENDS_INIT+=" arm-mem:init"
|
||||
fi
|
||||
|
||||
if [ "${TCMALLOC_SUPPORT}" = "yes" ]; then
|
||||
PKG_DEPENDS_TARGET+=" gperftools"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user