[oe-commits] Tom Rini : gdbserver: Switch to INC_PR, add LICENSE, only build gdbserver, drop DEPENDS

git version control git at git.openembedded.org
Wed Jun 24 19:14:57 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 0b3740da98794340ceb866b14ab6efba6ffaa6b4
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0b3740da98794340ceb866b14ab6efba6ffaa6b4

Author: Tom Rini <trini at embeddedalley.com>
Date:   Wed Jun 24 15:14:06 2009 -0400

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'.

---

 recipes/gdb/gdbserver.inc      |   10 +++++-----
 recipes/gdb/gdbserver_6.7.1.bb |    4 ++++
 recipes/gdb/gdbserver_6.8.bb   |    4 ++++
 3 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/recipes/gdb/gdbserver.inc b/recipes/gdb/gdbserver.inc
index a1610da..e02f276 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 fb92ebc..cb83d6f 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 67fc280..a6639b4 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"





More information about the Openembedded-commits mailing list