[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 21:35:26 UTC 2019
On Wed, Jan 2, 2019 at 1:31 PM Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
>
> On Wed, 2019-01-02 at 11:42 -0800, Khem Raj wrote:
> > 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.
>
> Is this not a tarball verses source control issue (the git version
> needs the dependency, the tarball doesn't)?
yes that has triggered it but I have also seen it on certain bare
minimum build host OSes in past
even with tarballs.
More information about the Openembedded-core
mailing list