Patchwork gdb: add --with-libexpat-prefix

login
register
mail settings
Submitter Andreas Oberritter
Date April 8, 2012, 9:36 p.m.
Message ID <1333921009-15203-1-git-send-email-obi@opendreambox.org>
Download mbox | patch
Permalink /patch/25339/
State Accepted
Commit 19d034963cc16392a12db144e04c55cbab245576
Headers show

Comments

Andreas Oberritter - April 8, 2012, 9:36 p.m.
From: Martin Jansa <Martin.Jansa@gmail.com>

* otherwise it sometimes finds host's expat

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta/recipes-devtools/gdb/gdb-common.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Saul Wold - April 10, 2012, 3:32 p.m.
On 04/08/2012 02:36 PM, Andreas Oberritter wrote:
> From: Martin Jansa<Martin.Jansa@gmail.com>
>
> * otherwise it sometimes finds host's expat
>
> Signed-off-by: Martin Jansa<Martin.Jansa@gmail.com>
> Signed-off-by: Andreas Oberritter<obi@opendreambox.org>
> ---
>   meta/recipes-devtools/gdb/gdb-common.inc |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
> index a8fca6f..5dd4f74 100644
> --- a/meta/recipes-devtools/gdb/gdb-common.inc
> +++ b/meta/recipes-devtools/gdb/gdb-common.inc
> @@ -11,7 +11,7 @@ LTTNGUST_mipsel = ""
>   LTTNGUST_mips64 = ""
>   LTTNGUST_mips64el = ""
>
> -INC_PR = "r7"
> +INC_PR = "r8"
>
>   LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
>   		file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \
> @@ -36,7 +36,7 @@ B = "${WORKDIR}/build-${TARGET_SYS}"
>
>   EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
>
> -EXPAT = "--with-expat"
> +EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}"
>
>   EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
>                   --with-curses --disable-multilib --with-system-readline --disable-sim \

Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index a8fca6f..5dd4f74 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -11,7 +11,7 @@  LTTNGUST_mipsel = ""
 LTTNGUST_mips64 = ""
 LTTNGUST_mips64el = ""
 
-INC_PR = "r7"
+INC_PR = "r8"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 		file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \
@@ -36,7 +36,7 @@  B = "${WORKDIR}/build-${TARGET_SYS}"
 
 EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
 
-EXPAT = "--with-expat"
+EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}"
 
 EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
                 --with-curses --disable-multilib --with-system-readline --disable-sim \