Skip to content

Clean up top-level directory structure

Stefan Roese u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 6 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/6] Clean up top-level directory structure
Quoted 21 lines · On Tuesday 14 July 2009 17:20:43 Peter Tyser wrote:
Quoted 3 lines

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/
Quoted 7 lines

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
=====================================================================