From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Mon, 20 Jun 2011 22:01:55 -0400 Subject: [U-Boot] Nested Makefiles In-Reply-To: References: Message-ID: <201106202201.57286.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, June 20, 2011 16:30:15 Simon Glass wrote: > On Mon, Jun 20, 2011 at 12:53 PM, Mike Frysinger wrote: > > indeed. it shouldnt be that bad now that more stuff has converted to > > FOO-$(CONFIG) syntax. it could probably even be done piece by piece > > rather than the whole tree to make transition easier. > > Indeed it is not like the U-Boot subdir Makefiles are a mess - they > are pretty tidy and describe the dependencies in a clean way that > should be usable when included by a top-level Makefile. at one point i wrote a generic board/board.mk that board/*/Makefile could inherit. then all board/*/Makefile would need is to declare COBJS-y. i'm not sure if that's a useful step, or if we just pick a single dir like common and make it work by a direct include of the top level Makefile. once we get those issues hashed out, we can move on to others one by one. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20110620/756ae62b/attachment.pgp