From: Tom Rini Date: Wed, 29 May 2013 08:22:51 -0400 Subject: [U-Boot] [RFC PATCH 3/7] Tidy up Makefiles to use COBJS consistently In-Reply-To: <1368411940-32479-4-git-send-email-sjg@chromium.org> References: <1368411940-32479-1-git-send-email-sjg@chromium.org> <1368411940-32479-4-git-send-email-sjg@chromium.org> Message-ID: <20130529122251.GG11917@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: