[U-Boot] Nested Makefiles

Mike Frysinger vapier at gentoo.org
Tue Jun 21 04:01:55 CEST 2011


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 


More information about the U-Boot mailing list