summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2004-09-16 00:22:14 +0000
committerJordan Crouse <jordan.crouse@amd.com>2004-09-16 00:22:14 +0000
commit7c6e4172fbd2ac40ce05397d9b4e5f590efcbfc0 (patch)
tree7a7e78ab12c35b94b94b6c2bd9369fa1e05afcb2 /gdb
parentd786e374924a4e3af3ed02a966c3acfbb9060e74 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into forsteri.amd.com:/users/jcrouse/bk/oe/packages 2004/09/15 17:22:03-07:00 amd.com!jcrouse Fix GDB to play well with 64 bit envs BKrev: 4148dcb6TlEnxlB0M-bDnkt3wAI0tw
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdb_6.2.oe22
1 files changed, 10 insertions, 12 deletions
diff --git a/gdb/gdb_6.2.oe b/gdb/gdb_6.2.oe
index 661bde813c..5fba6ebbde 100644
--- a/gdb/gdb_6.2.oe
+++ b/gdb/gdb_6.2.oe
@@ -1,12 +1,10 @@
DESCRIPTION = "gdb - GNU debugger"
+LICENSE="GPL"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Pawel Osiczko <p.osiczko@tetrapyloctomy.org>"
DEPENDS = "ncurses readline"
-PACKAGES =+ 'gdbserver '
-FILES_gdbserver = '${bindir}/gdbserver'
-
inherit autotools
SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
@@ -23,24 +21,24 @@ export CFLAGS_append=" -L${STAGING_LIBDIR}"
EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-nls \
- --with-curses --with-readline --disable-sim \
+ --with-curses --disable-multilib --with-readline --disable-sim \
--program-prefix=''"
+S = "${WORKDIR}/gdb-${PV}"
+B = "${WORKDIR}/build-${TARGET_SYS}"
+
do_configure () {
# override this function to avoid the autoconf/automake/aclocal/autoheader
# calls for now
- gnu-configize
- oe_runconf
+ (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
+ CPPFLAGS="" oe_runconf
}
do_install () {
- make -C bfd/doc chew LDFLAGS= CFLAGS=-O2
oe_runmake install \
- 'prefix=${D}/${prefix}' 'exec_prefix=${D}/${prefix}' 'bindir=${D}/${bindir}' \
- 'sbindir=${D}/${sbindir}' 'infodir=${D}/${datadir}/info' 'libdir=${D}/${libdir}' \
- 'mandir=${D}/${mandir}' 'includedir=${D}/${includedir}'
- install -d ${D}${bindir}
- install -m 0755 gdb/gdbserver/gdbserver ${D}${bindir}
+ 'prefix=${D}' 'exec_prefix=${D}' 'bindir=${D}/bin' \
+ 'sbindir=${D}/sbin' 'infodir=${D}/share/info' 'libdir=${D}/lib' \
+ 'mandir=${D}/share/man' 'includedir=${D}/include'
}
#