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