[OE-core] [PATCH 1/2] gdb-cross-canadian: Add bison-native for gdb-cross-canadian

Khem Raj raj.khem at gmail.com
Wed Jan 2 19:42:57 UTC 2019


On Wed, Jan 2, 2019 at 11:32 AM Jacob Kroon <jacob.kroon at gmail.com> wrote:
>
> On Wed, Jan 2, 2019 at 8:21 PM Khem Raj <raj.khem at gmail.com> wrote:
> >
> > From: pino-kim <sungwon.pino at gmail.com>
> >
> > This fixes RISC-V gdb-cross-canadian cross compile configure failure on missing bison.
> >
> > Signed-off-by: pino-kim <sungwon.pino at gmail.com>
> > Signed-off-by: Khem Raj <raj.khem at gmail.com>
> > ---
> >  meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
> > index 475e4f08ef..e54766bbb2 100644
> > --- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
> > +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
> > @@ -6,7 +6,8 @@ PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
> >  BPN = "gdb"
> >
> >  DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext \
> > -           virtual/${HOST_PREFIX}gcc-crosssdk virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-libc"
> > +           virtual/${HOST_PREFIX}gcc-crosssdk virtual/${HOST_PREFIX}binutils-crosssdk \
> > +           virtual/nativesdk-libc bison-native"
> >
>
> Would it make sense to restrict this to DEPENDS_append_riscv32/64 ?

Its not particular to riscv, it just happens to unearth the problem
for us since its building gdb from upstream
master, we are going to land into this problem eventually when we upgrade.

>
> >  GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
> >
> > --
> > 2.20.1
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list