summaryrefslogtreecommitdiff
path: root/gdb/gdb_6.2.oe
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdb_6.2.oe')
-rw-r--r--gdb/gdb_6.2.oe15
1 files changed, 6 insertions, 9 deletions
diff --git a/gdb/gdb_6.2.oe b/gdb/gdb_6.2.oe
index 5fba6ebbde..fa9ecaa7e5 100644
--- a/gdb/gdb_6.2.oe
+++ b/gdb/gdb_6.2.oe
@@ -5,6 +5,9 @@ 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 \
@@ -35,17 +38,11 @@ do_configure () {
}
do_install () {
+ make -C bfd/doc chew LDFLAGS= CFLAGS=-O2
oe_runmake install \
'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'
+ install -d ${D}${bindir}
+ install -m 0755 gdb/gdbserver/gdbserver ${D}${bindir}
}
-
-#
-# patch description
-#
-# readline.patch:
-# gdb 5.3 provides its own readline source which tends to conflict with
-# readline package. we override readline included from gdb source
-# with packaged readline and fix up extern tilde_expand in gdb/defs.h
-#