Files
Arch-R/packages/virtual/libc/package.mk
Matthias Reichl 3169ae8a9f config/options: add ARM_MEM_SUPPORT option to control arm-mem inclusion
Move the check if arm-mem should be included from virtual/libc
to config/options and set the ARM_MEM_SUPPORT variable accordingly.

This makes it possible to opt-out of using arm-mem which can
be helpful for performance testing and debugging (eg valgrind
doesn't play nicely with it).

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-09 16:07:09 +01:00

19 lines
572 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libc"
PKG_VERSION=""
PKG_LICENSE="GPL"
PKG_SITE="https://libreelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain glibc tz libidn2"
PKG_DEPENDS_INIT="toolchain glibc:init"
PKG_SECTION="virtual"
PKG_LONGDESC="Meta package for installing various tools and libs needed for libc"
if [ "${ARM_MEM_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" arm-mem"
PKG_DEPENDS_INIT+=" arm-mem:init"
fi