0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-03-01 01:01:24 +00:00
Matthias Reichl 7f2318b2b1 virtual/debug: allow including valgrind in non-debug builds
valgrind can be useful to check if memory allocation is OK in release
builds and to check for issues that don't occur in debug builds.

As valgrind needs to be explicitly enabled removing the debug-only
restriction has no impact on normal builds.

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

31 lines
758 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="debug"
PKG_VERSION=""
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain gdb edid-decode memtester strace"
PKG_SECTION="virtual"
PKG_LONGDESC="debug is a Metapackage for installing debugging tools"
# configure GPU drivers and dependencies:
get_graphicdrivers
if [ "${VDPAU_SUPPORT}" = "yes" -a "${DISPLAYSERVER}" = "x11" ]; then
PKG_DEPENDS_TARGET+=" vdpauinfo"
fi
if [ "${VAAPI_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" libva-utils"
fi
if [ "${VALGRIND}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" valgrind"
fi
if [ "${REMOTE_GDB}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" gdb:host"
fi