public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] what does it mean when "SOBJS" refers to a C source file?
@ 2012-11-14 16:32 Robert P. J. Day
  2012-11-14 18:44 ` Albert ARIBAUD
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2012-11-14 16:32 UTC (permalink / raw)
  To: u-boot


  perusing the Makefiles, pretty straightforward but, on occasion, i
run into something like this (from
arch/arm/cpu/armv7/omap-common/Makefile):

... snip ...
SOBJS   := reset.o

COBJS   := timer.o
COBJS   += utils.o
... snip ...

  the thing is, all of the above are .c files, including reset.c.  is
there something deliberate about using SOBJS to refer to an object
file whose source file isn't actually assembler?  just curious.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

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

* [U-Boot] what does it mean when "SOBJS" refers to a C source file?
  2012-11-14 16:32 [U-Boot] what does it mean when "SOBJS" refers to a C source file? Robert P. J. Day
@ 2012-11-14 18:44 ` Albert ARIBAUD
  2012-11-14 20:06   ` Robert P. J. Day
  0 siblings, 1 reply; 4+ messages in thread
From: Albert ARIBAUD @ 2012-11-14 18:44 UTC (permalink / raw)
  To: u-boot

Hi Robert,

On Wed, 14 Nov 2012 11:32:11 -0500 (EST), "Robert P. J. Day"
<rpjday@crashcourse.ca> wrote:

> 
>   perusing the Makefiles, pretty straightforward but, on occasion, i
> run into something like this (from
> arch/arm/cpu/armv7/omap-common/Makefile):
> 
> ... snip ...
> SOBJS   := reset.o
> 
> COBJS   := timer.o
> COBJS   += utils.o
> ... snip ...
> 
>   the thing is, all of the above are .c files, including reset.c.  is
> there something deliberate about using SOBJS to refer to an object
> file whose source file isn't actually assembler?  just curious.
> 
> rday

It means commit d417d1db5f9092d125ddea882ced77eaa5f3d236 was not
reviewed thoroughly enough. :)

Amicalement,
-- 
Albert.

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

* [U-Boot] what does it mean when "SOBJS" refers to a C source file?
  2012-11-14 18:44 ` Albert ARIBAUD
@ 2012-11-14 20:06   ` Robert P. J. Day
  2012-11-15  7:09     ` Albert ARIBAUD
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2012-11-14 20:06 UTC (permalink / raw)
  To: u-boot

On Wed, 14 Nov 2012, Albert ARIBAUD wrote:

> Hi Robert,
>
> On Wed, 14 Nov 2012 11:32:11 -0500 (EST), "Robert P. J. Day"
> <rpjday@crashcourse.ca> wrote:
>
> >
> >   perusing the Makefiles, pretty straightforward but, on occasion, i
> > run into something like this (from
> > arch/arm/cpu/armv7/omap-common/Makefile):
> >
> > ... snip ...
> > SOBJS   := reset.o
> >
> > COBJS   := timer.o
> > COBJS   += utils.o
> > ... snip ...
> >
> >   the thing is, all of the above are .c files, including reset.c.  is
> > there something deliberate about using SOBJS to refer to an object
> > file whose source file isn't actually assembler?  just curious.
> >
> > rday
>
> It means commit d417d1db5f9092d125ddea882ced77eaa5f3d236 was not
> reviewed thoroughly enough. :)

  i can submit a patch for that unless someone is all over that
already.  i assume the fix would simply involve assigning reset.o to
COBJS (rather than SOBS) in the relevant Makefiles, yes?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

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

* [U-Boot] what does it mean when "SOBJS" refers to a C source file?
  2012-11-14 20:06   ` Robert P. J. Day
@ 2012-11-15  7:09     ` Albert ARIBAUD
  0 siblings, 0 replies; 4+ messages in thread
From: Albert ARIBAUD @ 2012-11-15  7:09 UTC (permalink / raw)
  To: u-boot

Hi Robert,

On Wed, 14 Nov 2012 15:06:48 -0500 (EST), "Robert P. J. Day"
<rpjday@crashcourse.ca> wrote:

> On Wed, 14 Nov 2012, Albert ARIBAUD wrote:
> 
> > Hi Robert,
> >
> > On Wed, 14 Nov 2012 11:32:11 -0500 (EST), "Robert P. J. Day"
> > <rpjday@crashcourse.ca> wrote:
> >
> > >
> > >   perusing the Makefiles, pretty straightforward but, on occasion, i
> > > run into something like this (from
> > > arch/arm/cpu/armv7/omap-common/Makefile):
> > >
> > > ... snip ...
> > > SOBJS   := reset.o
> > >
> > > COBJS   := timer.o
> > > COBJS   += utils.o
> > > ... snip ...
> > >
> > >   the thing is, all of the above are .c files, including reset.c.  is
> > > there something deliberate about using SOBJS to refer to an object
> > > file whose source file isn't actually assembler?  just curious.
> > >
> > > rday
> >
> > It means commit d417d1db5f9092d125ddea882ced77eaa5f3d236 was not
> > reviewed thoroughly enough. :)
> 
>   i can submit a patch for that unless someone is all over that
> already.  i assume the fix would simply involve assigning reset.o to
> COBJS (rather than SOBS) in the relevant Makefiles, yes?

Yes -- and checking that the resulting U-Boot still builds and
works. :)

> rday

Amicalement,
-- 
Albert.

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

end of thread, other threads:[~2012-11-15  7:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-14 16:32 [U-Boot] what does it mean when "SOBJS" refers to a C source file? Robert P. J. Day
2012-11-14 18:44 ` Albert ARIBAUD
2012-11-14 20:06   ` Robert P. J. Day
2012-11-15  7:09     ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox