[oe] Building gdbserver only
Geoffrey Wossum
geoffrey at pager.net
Tue Apr 15 14:43:13 UTC 2008
On Monday 14 April 2008 05:58:26 pm Khem Raj wrote:
> Geoffrey Wossum wrote:
> > It does support building gdbserver for the AVR32, though. Trouble is,
> > there doesn't seem to be an "easy" way to build just gdbserver. To build
> > just gdbserver, you run the gdb-${PV}/gdb/gdbserver/configure instead of
> > gdb-${PV}/configure. oe_runconf() substitutes the value of ${S} in. If
> > you try to modify ${S} so that oe_runconf() executes the correct
> > configure script, then ${S} is screwed up for do_patch() and the patches
> > won't apply.
> >
> > Any ideas on how to solve this dillemma?
>
> How about building gdb completely but package only gdbserver.
The problem is that gdb does not build, only gdbserver. I can't figure out a
way to get OE to build just gdbserver for me. oe_doconf() always wants to
run ${S}/configure, but I need it to run ${S}/gdb/gdbserver/configure. If I
change S, then the patching fails.
What would be cool is if oe_doconf() took an optional parameter telling it
where the configure script is, instead of always using ${S}/configure.
---
Geoffrey
More information about the Openembedded-devel
mailing list