aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gdb
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-06-24 15:14:06 -0400
committerTom Rini <trini@embeddedalley.com>2009-06-24 15:16:03 -0400
commit0b3740da98794340ceb866b14ab6efba6ffaa6b4 (patch)
tree766d09bd3d55708ecd0fddcd83320a802ab172f5 /recipes/gdb
parentc90998b8752a7a817f99b14dd1276dc6076c5a97 (diff)
downloadopenembedded-0b3740da98794340ceb866b14ab6efba6ffaa6b4.tar.gz
gdbserver: Switch to INC_PR, add LICENSE, only build gdbserver, drop DEPENDS
To build just gdbserver, we don't need ncurses or readline, so drop the DEPENDS and pass --without- for configure. Also, we don't need to build anything more than 'gdbserver'.
Diffstat (limited to 'recipes/gdb')
-rw-r--r--recipes/gdb/gdbserver.inc10
-rw-r--r--recipes/gdb/gdbserver_6.7.1.bb4
-rw-r--r--recipes/gdb/gdbserver_6.8.bb4
3 files changed, 13 insertions, 5 deletions
diff --git a/recipes/gdb/gdbserver.inc b/recipes/gdb/gdbserver.inc
index a1610daff8..e02f276cb6 100644
--- a/recipes/gdb/gdbserver.inc
+++ b/recipes/gdb/gdbserver.inc
@@ -1,8 +1,8 @@
require gdb-common.inc
-DEFAULT_PREFERENCE_avr32 = "-99"
+INC_PR = "r1"
-DEPENDS = "ncurses readline"
+DEFAULT_PREFERENCE_avr32 = "-99"
FILES_gdbserver = "${bindir}/gdbserver"
@@ -15,10 +15,10 @@ SRC_URI += "file://kill_arm_map_symbols.patch;patch=1 \
file://gdbserver-cflags-last.diff;patch=1;pnum=0"
#FIXME file://uclibc.patch;patch=1 \
-EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
+EXTRA_OEMAKE = "gdbserver"
-EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
- --with-curses --disable-multilib --with-readline --disable-sim \
+EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --without-curses \
+ --disable-multilib --without-readline --disable-sim \
--program-prefix=''"
LDFLAGS_append = " -s"
diff --git a/recipes/gdb/gdbserver_6.7.1.bb b/recipes/gdb/gdbserver_6.7.1.bb
index fb92ebc424..cb83d6f2c7 100644
--- a/recipes/gdb/gdbserver_6.7.1.bb
+++ b/recipes/gdb/gdbserver_6.7.1.bb
@@ -1,5 +1,9 @@
require gdbserver.inc
+LICENSE = "GPLv3"
+
+PR = "${INC_PR}.1"
+
DEFAULT_PREFERENCE_avr32 = "99"
SRC_URI_avr32 = " http://avr32linux.org/twiki/pub/Main/GDBPatches/gdb-6.7.1.atmel.1.0.3.tar.bz2"
S_avr32 = "${WORKDIR}/gdb-6.7.1.atmel.1.0.3"
diff --git a/recipes/gdb/gdbserver_6.8.bb b/recipes/gdb/gdbserver_6.8.bb
index 67fc280ea2..a6639b420d 100644
--- a/recipes/gdb/gdbserver_6.8.bb
+++ b/recipes/gdb/gdbserver_6.8.bb
@@ -1 +1,5 @@
require gdbserver.inc
+
+LICENSE = "GPLv3"
+
+PR = "${INC_PR}.1"