2 DESCRIPTION = "gdb - GNU debugger"
5 MAINTAINER = "Phil Blundell <pb@nexus.co.uk>"
6 DEPENDS = "ncurses-native"
10 S = "${WORKDIR}/gdb-${PV}"
11 SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
12 file://sim-install.patch;patch=1"
14 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gdb-${PV}"
16 export CC_FOR_BUILD = "${BUILD_CC}"
17 export CXX_FOR_BUILD = "${BUILD_CXX}"
18 export CPP_FOR_BUILD = "${BUILD_CPP}"
19 export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
20 export CXXFLAGS_FOR_BUILD = "${BUILD_CXXFLAGS}"
21 export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
23 EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'"
25 EXTRA_OECONF = "--with-curses --with-readline"
28 # override this function to avoid the autoconf/automake/aclocal/autoheader