summaryrefslogtreecommitdiffstats
path: root/recipes/gdb/gdb-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gdb/gdb-cross.inc')
-rw-r--r--recipes/gdb/gdb-cross.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/gdb/gdb-cross.inc b/recipes/gdb/gdb-cross.inc
index f92d798576..9753e81cf7 100644
--- a/recipes/gdb/gdb-cross.inc
+++ b/recipes/gdb/gdb-cross.inc
@@ -1,6 +1,8 @@
require gdb-common.inc
-DEPENDS = "ncurses-native zlib-native flex-native"
+DEPENDS = "ncurses-native zlib-native expat-native flex-native"
+# We must have this around in order to link gdb
+DEPENDS += "virtual/${TARGET_PREFIX}gcc"
EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'"