All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Building gdbserver only
@ 2008-04-14 20:04 Geoffrey Wossum
  2008-04-14 22:58 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Geoffrey Wossum @ 2008-04-14 20:04 UTC (permalink / raw
  To: Openembedded-devel

Hi all,

I'm working on getting OE to build gdb-6.7.1.atmel.1.0.3 for the AVR32.  I 
have the gdb-cross working, but gdb is a little tricker.  gdb has not been 
ported to be hosted on the AVR32, so do_compile() quits when running the 
gdb/configure script.

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?

---
Geoffrey



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Building gdbserver only
  2008-04-14 20:04 Building gdbserver only Geoffrey Wossum
@ 2008-04-14 22:58 ` Khem Raj
  2008-04-15 14:43   ` Geoffrey Wossum
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2008-04-14 22:58 UTC (permalink / raw
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 907 bytes --]

Geoffrey Wossum wrote:
> Hi all,
> 
> I'm working on getting OE to build gdb-6.7.1.atmel.1.0.3 for the AVR32.  I 
> have the gdb-cross working, but gdb is a little tricker.  gdb has not been 
> ported to be hosted on the AVR32, so do_compile() quits when running the 
> gdb/configure script.
> 
> 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.


Thanks

-Khem


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 258 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Building gdbserver only
  2008-04-14 22:58 ` Khem Raj
@ 2008-04-15 14:43   ` Geoffrey Wossum
  0 siblings, 0 replies; 3+ messages in thread
From: Geoffrey Wossum @ 2008-04-15 14:43 UTC (permalink / raw
  To: openembedded-devel

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-15 14:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-14 20:04 Building gdbserver only Geoffrey Wossum
2008-04-14 22:58 ` Khem Raj
2008-04-15 14:43   ` Geoffrey Wossum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.