virtual/debug: build remote/cross gdb if REMOTE_GDB is set

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2020-04-22 16:24:04 +02:00
parent f699a62097
commit 7d9abe360d

View File

@ -24,3 +24,7 @@ fi
if build_with_debug && [ "$VALGRIND" = "yes" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET valgrind"
fi
if [ "$REMOTE_GDB" = "yes" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET gdb:host"
fi