diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-12-02 11:35:35 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-12-02 11:35:35 +0000 |
commit | 7bb37ffb35d9786b8da2aa9c6cd98e15cb8ba785 (patch) | |
tree | ba611a1b9caab5b3e2ddfef2113b1de460c5809c /meta/packages/gdb/gdb-common.inc | |
parent | 4248fbef9fbaad7b49f3eee508b4389d57a73535 (diff) | |
download | openembedded-core-7bb37ffb35d9786b8da2aa9c6cd98e15cb8ba785.tar.gz openembedded-core-7bb37ffb35d9786b8da2aa9c6cd98e15cb8ba785.tar.bz2 openembedded-core-7bb37ffb35d9786b8da2aa9c6cd98e15cb8ba785.zip |
gdb: Clean up recipe and don't inherit cross for cross-canadian
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gdb/gdb-common.inc')
-rw-r--r-- | meta/packages/gdb/gdb-common.inc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/gdb/gdb-common.inc b/meta/packages/gdb/gdb-common.inc index 266c8fe6b2..49231a525d 100644 --- a/meta/packages/gdb/gdb-common.inc +++ b/meta/packages/gdb/gdb-common.inc @@ -3,6 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/gdb/" LICENSE="GPLv3+" SECTION = "devel" PRIORITY = "optional" +DEPENDS = "ncurses readline" inherit autotools @@ -18,3 +19,23 @@ export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}" B = "${WORKDIR}/build-${TARGET_SYS}" +EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'" + +EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \ + --with-curses --disable-multilib --with-readline --disable-sim \ + ${GDBPROPREFIX}" +GDBPROPREFIX = "--program-prefix=''" + +do_configure () { + # override this function to avoid the autoconf/automake/aclocal/autoheader + # calls for now + (cd ${S} && gnu-configize) || die "failure in running gnu-configize" + oe_runconf +} + +PACKAGES =+ "gdbserver" +FILES_gdbserver = "${bindir}/gdbserver" + +RRECOMMENDS_gdb_append_linux = " glibc-thread-db " +RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db " + |