Patchwork Add readline as dependecy for gdb-cross-canadian

login
register
mail settings
Submitter Matthew McClintock
Date Oct. 27, 2011, 3:03 a.m.
Message ID <1319684612-24265-1-git-send-email-msm@freescale.com>
Download mbox | patch
Permalink /patch/13891/
State New, archived
Headers show

Comments

Matthew McClintock - Oct. 27, 2011, 3:03 a.m.
Got errors that we were unable to find -lreadline, this fixed the
issue

Signed-off-by: Matthew McClintock <msm@freescale.com>
---
 meta/recipes-devtools/gdb/gdb-cross-canadian.inc   |    2 +-
 .../gdb/gdb-cross-canadian_7.3a.bb                 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Richard Purdie - Oct. 27, 2011, 7:42 a.m.
On Wed, 2011-10-26 at 22:03 -0500, Matthew McClintock wrote:
> Got errors that we were unable to find -lreadline, this fixed the
> issue
> 
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
>  meta/recipes-devtools/gdb/gdb-cross-canadian.inc   |    2 +-
>  .../gdb/gdb-cross-canadian_7.3a.bb                 |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

This patch didn't apply as it wasn't against master. I have manually
fixed it up but please send patches against master in future! :)

Cheers,

Richard
McClintock Matthew-B29882 - Oct. 27, 2011, 4:05 p.m.
On Thu, Oct 27, 2011 at 2:42 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Wed, 2011-10-26 at 22:03 -0500, Matthew McClintock wrote:
>> Got errors that we were unable to find -lreadline, this fixed the
>> issue
>>
>> Signed-off-by: Matthew McClintock <msm@freescale.com>
>> ---
>>  meta/recipes-devtools/gdb/gdb-cross-canadian.inc   |    2 +-
>>  .../gdb/gdb-cross-canadian_7.3a.bb                 |    2 +-
>>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> This patch didn't apply as it wasn't against master. I have manually
> fixed it up but please send patches against master in future! :)

Thanks! Sorry, I've been working on edison lately this must have
slipped my mind.

-M

Patch

diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
index 90a20e2..ec0748e 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -4,4 +4,4 @@  DESCRIPTION = "cross-canadian gdb for ${TARGET_ARCH} target - GNU debugger"
 PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
 BPN = "gdb"
 
-DEPENDS = "ncurses-nativesdk expat-nativesdk gettext-nativesdk"
+DEPENDS = "ncurses-nativesdk expat-nativesdk gettext-nativesdk readline-nativesdk"
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.3a.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.3a.bb
index 7e8ad04..555bef1 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.3a.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.3a.bb
@@ -1,7 +1,7 @@ 
 require gdb-common.inc
 require gdb-cross-canadian.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
 EXPAT = "--with-expat"