[U-Boot] [PATCH v2 0/6] Clean up top-level directory structure

Stefan Roese sr at denx.de
Wed Jul 15 05:25:16 CEST 2009


On Tuesday 14 July 2009 17:20:43 Peter Tyser wrote:
> > I prefer the
> > arch/$(ARCH)/lib
> > so will could also move the cpu stuff there too
>
> I like the Linux and u-boot-v2 directory layout too the more I think
> about it too.  How about if I resend this series but with the final
> directory structure looking like:
>
> /arch/$(ARCH)/lib/<source files currently in lib_$(ARCH)
>
> /lib/
> 	/<source files currently in lib_generic>
> 	/libfdt/
> 	/lzma/
> 	/lzo/
>
> /examples/
> 	/api/
> 	/standalone/
>
>
> That will lay the groundwork for moving additional files
> into /arch/$(ARCH)/ down the road.  eg I think it would be nice to move
> the directories in /cpu/* into their respective /arch/$(ARCH)/
> directory, and possibly the /include/asm-$(ARCH) directories in the long
> run.
>
> What do others think of this?

I like this idea. So +1 from me.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list