gdb (all): Add bison-native to DEPENDS
[openembedded.git] / recipes / gdb / gdb-cross.inc
blob953573b646a47ab2ae0cd63b72247fd165ff5897
1 require gdb-common.inc
3 DEPENDS = "ncurses-native zlib-native expat-native flex-native bison-native"
4 # We must have this around in order to link gdb
5 DEPENDS += "virtual/${TARGET_PREFIX}gcc"
7 EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'"
9 EXTRA_OECONF = "--with-curses --with-readline"
11 do_configure () {
12 # override this function to avoid the autoconf/automake/aclocal/autoheader
13 # calls for now
14         (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
16         # Fix for issues when system's texinfo version >= 4.10
17         # (See https://bugzilla.redhat.com/show_bug.cgi?id=345621)
18         sed -i -e "s@egrep 'texinfo.*'@egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9]+|[5-9])'@" '${S}/configure'
21         oe_runconf
24 inherit cross