[U-Boot] [RFC PATCH 3/7] Tidy up Makefiles to use COBJS consistently

Tom Rini trini at ti.com
Wed May 29 14:22:51 CEST 2013


On Sun, May 12, 2013 at 07:25:36PM -0700, Simon Glass wrote:
> Some Makefiles doen't define COBJS, but just use COBJS-y directly. This
> messes with our Kconfig script which uses COBJS to decide which objects
> are needed.
> 
> Also, for directories where COBJS produces an empty list, COBJS- must be
> defined and non-empty, otherwise Kconfig will not create the empty
> built-in.o file and the link will fail. So adjust things such that
> COBJS- is defined when needed.
> 
> Finally, Kconfig needs to know about subdirectories with the obj-y
> variable, so add these as needed.
> 
> All of the above changes should have no effect on the existing U-Boot
> build system.

Except for the obj-y for directories stuff, the other bits are cleanups
for what we have today yes?  If so, lets get them separated out and
merged in soon rather than later.  One less patch to carry.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130529/a10b3c14/attachment.pgp>


More information about the U-Boot mailing list