
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.