[U-Boot] [PATCH v2 2/6] Move lib_<ARCH> directories to lib/<ARCH>

Peter Tyser ptyser at xes-inc.com
Mon Nov 23 03:39:43 CET 2009


On Sun, 2009-11-22 at 21:54 +0100, Wolfgang Denk wrote:
> Dear Peter Tyser,
> 
> In message <1247241800-29059-3-git-send-email-ptyser at xes-inc.com> you wrote:
> > Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> 
> Could you please rebase this patch, and the other two in this series:
> [PATCH v2 3/6] Move lib_generic to lib/generic
> [PATCH v2 4/6] Move libfdt to lib/libfdt
> 
> against current "next" branch?

Sure.  There was some discussion that was spawned when this patch was
originally sent and it sounded like the consensus was to add new
arch/$ARCH directories instead of creating new lib/$ARCH directories.
My personal preference would be to take it a step further and organize
like:

/arch/$ARCH/
	/lib/<sources currently in lib_$ARCH/>
	/include/asm/<headers currently in incluce/asm-$ARCH/>
	/cpu/<appropriate cpu directories in cpu/>
	/config.mk (old lib_$ARCH/config.mk)

/lib/
        /<source files currently in lib_generic>
        /libfdt/
        /lzma/
        /lzo/

This layout would more closely match the Linux layout and is cleaner
overall in my opinion.  What do others think of this idea?

Here's the original discussion for reference:
http://www.mail-archive.com/u-boot@lists.denx.de/msg17593.html 

Best,
Peter



More information about the U-Boot mailing list