From: Robert P. J. Day Date: Wed, 14 Nov 2012 15:06:48 -0500 (EST) Subject: [U-Boot] what does it mean when "SOBJS" refers to a C source file? In-Reply-To: <20121114194445.74ab9148@lilith> References: <20121114194445.74ab9148@lilith> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 14 Nov 2012, Albert ARIBAUD wrote: > Hi Robert, > > On Wed, 14 Nov 2012 11:32:11 -0500 (EST), "Robert P. J. Day" > 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 ========================================================================