debug: make valgrind optional, disabled by default, not available for armv6

This commit is contained in:
MilhouseVH 2016-11-07 22:16:58 +00:00
parent 3f3017080e
commit d6f3fb1d7e
2 changed files with 6 additions and 2 deletions

View File

@ -38,6 +38,6 @@ if [ "$VDPAU_SUPPORT" = "yes" -a "$DISPLAYSERVER" = "x11" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET vdpauinfo"
fi
if [ "$DEBUG" = "yes" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET valgrind"
if [ "$DEBUG" = "yes" -a "$VALGRIND" = "yes" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET valgrind"
fi

View File

@ -129,6 +129,10 @@
# build with installer (yes / no)
INSTALLER_SUPPORT="no"
# build debug with valgrind (yes / no)
# Not available for armv6. Increases image size significantly
VALGRIND="no"
# kernel image name
KERNEL_NAME="kernel.img"