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

Peter Tyser
2009-11-23T02:39:43Z

On Sun, 2009-11-22 at 21:54 +0100, Wolfgang Denk wrote:
> Dear Peter Tyser,
>
> In message <1247241800-29059-3-git-send-email-ptyser@xes-inc.com> you wrote:
> > Signed-off-by: Peter Tyser <ptyser@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/
/
/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 at lists.denx.de/msg17593.html

Best,
Peter