[U-Boot] what does it mean when "SOBJS" refers to a C source file?

Albert ARIBAUD albert.u.boot at aribaud.net
Thu Nov 15 08:09:08 CET 2012


Hi Robert,

On Wed, 14 Nov 2012 15:06:48 -0500 (EST), "Robert P. J. Day"
<rpjday at 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 at 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.


More information about the U-Boot mailing list