what does it mean when "SOBJS" refers to a C source file?
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
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Hi Robert,
Quoted 12 lines · Robert P. J. Day
perusing the Makefiles, pretty straightforward but, on occasion, i
run into something like this (fromarch/arm/cpu/armv7/omap-common/Makefile):... snip ...
SOBJS := reset.oCOBJS := timer.o
COBJS += utils.o
... snip ...
Quoted 5 lines
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,
Signature · 1 line
Albert.
Quoted 17 lines · Albert ARIBAUD
Hi Robert,
Quoted 12 lines · Robert P. J. Day
perusing the Makefiles, pretty straightforward but, on occasion, i
run into something like this (fromarch/arm/cpu/armv7/omap-common/Makefile):... snip ...
SOBJS := reset.oCOBJS := timer.o
COBJS += utils.o
... snip ...
Quoted 8 lines
Quoted 5 lines
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
d417d1db5f9092d125ddea882ced77eaa5f3d236was 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
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Hi Robert,
Quoted 23 lines · Robert P. J. Day
Quoted 21 lines · Albert ARIBAUD
Hi Robert,
Quoted 16 lines · Robert P. J. Day
perusing the Makefiles, pretty straightforward but, on occasion, i
run into something like this (fromarch/arm/cpu/armv7/omap-common/Makefile):... snip ...
SOBJS := reset.oCOBJS := 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.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
rday
It means commit
d417d1db5f9092d125ddea882ced77eaa5f3d236was 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. :)
Quoted 1 line
rday
Amicalement,
Signature · 1 line
Albert.