public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v4 00/20] Reorganize directory structure
@ 2010-04-13  3:28 Peter Tyser
  2010-04-13  3:28 ` [U-Boot] [PATCH v4 01/20] Create CPUDIR variable Peter Tyser
                   ` (20 more replies)
  0 siblings, 21 replies; 26+ messages in thread
From: Peter Tyser @ 2010-04-13  3:28 UTC (permalink / raw)
  To: u-boot

This series reorganizes U-Boot's directory structure so that it looks
like:
/arch/$ARCH/
        /lib/<sources currently in lib_$ARCH/>
        /include/asm/<headers currently in incluce/asm-$ARCH/>
        /cpu/<appropriate cpu directories in cpu/ or just files in cpu/$CPU if 1 CPU type>
        /config.mk (old lib_$ARCH/config.mk)

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

Patches 8 through 19 can be squashed if desired, I split them up to keep
the series somewhat manageable.  Some of the patches still exceed the
mailinglist's arbitrary size limit.  I can post the series on a website
if needed.

I compile tested on PPC, mips, and blackfin and no new errors were
introduced.

The previous discussion about this series can be seen at 
http://lists.denx.de/pipermail/u-boot/2009-December/065391.html

Changes since v1:
- Convert to using directory-specific CFLAGS
- No cpu subdirectories for 1-CPU architectures (eg blackfin, mips, etc)
  as mentioned by Mike Frysinger
- Fix libfdt path typo pointed out by Luigi Mantellini
- Added final README fixup patch

Changes since v2:
- Rebased on current TOT

Changes since v3:
- Set CPUDIR variable earlier to prevent build errors on some arches
- Fix out of tree building for ARM

Peter Tyser (20):
  Create CPUDIR variable
  Change directory-specific CFLAGS to use full path
  Move lib_$ARCH directories to arch/$ARCH/lib
  Rename lib_generic/ to lib/
  Move libfdt/ into lib/
  Replace "#include <asm-$ARCH/$FILE>" with "#include <asm/$FILE>"
  Move architecture-specific includes to arch/$ARCH/include/asm
  ppc: Move cpu/$CPU to arch/ppc/cpu/$CPU
  sh: Move cpu/$CPU to arch/sh/cpu/$CPU
  arm: Move cpu/$CPU to arch/arm/cpu/$CPU
  m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU
  blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/*
  mips: Move cpu/mips/* to arch/mips/cpu/*
  avr32: Move cpu/at32ap/* to arch/avr32/cpu/*
  microblaze: Move cpu/microblaze/* to arch/microblaze/cpu/*
  i386: Move cpu/i386/* to arch/i386/cpu/*
  sparc: Move cpu/leon[23] to arch/sparc/cpu/leon[23]
  nios: Move cpu/nios/* to arch/nios/cpu/*
  nios2: Move cpu/nios2/* to arch/nios2/cpu/*
  Update README to reflect new directory structure

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2010-04-13 14:41 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-13  3:28 [U-Boot] [PATCH v4 00/20] Reorganize directory structure Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 01/20] Create CPUDIR variable Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 02/20] Change directory-specific CFLAGS to use full path Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 03/20] Move lib_$ARCH directories to arch/$ARCH/lib Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 04/20] Rename lib_generic/ to lib/ Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 05/20] Move libfdt/ into lib/ Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 06/20] Replace "#include <asm-$ARCH/$FILE>" with "#include <asm/$FILE>" Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 07/20] Move architecture-specific includes to arch/$ARCH/include/asm Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 08/20] ppc: Move cpu/$CPU to arch/ppc/cpu/$CPU Peter Tyser
2010-04-13  9:02   ` Detlev Zundel
2010-04-13  9:11     ` Stefan Roese
2010-04-13  9:27       ` Wolfgang Denk
2010-04-13 14:41         ` Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 09/20] sh: Move cpu/$CPU to arch/sh/cpu/$CPU Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 10/20] arm: Move cpu/$CPU to arch/arm/cpu/$CPU Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 11/20] m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 12/20] blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/* Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 13/20] mips: Move cpu/mips/* to arch/mips/cpu/* Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 14/20] avr32: Move cpu/at32ap/* to arch/avr32/cpu/* Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 15/20] microblaze: Move cpu/microblaze/* to arch/microblaze/cpu/* Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 16/20] i386: Move cpu/i386/* to arch/i386/cpu/* Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 17/20] sparc: Move cpu/leon[23] to arch/sparc/cpu/leon[23] Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 18/20] nios: Move cpu/nios/* to arch/nios/cpu/* Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 19/20] nios2: Move cpu/nios2/* to arch/nios2/cpu/* Peter Tyser
2010-04-13  3:28 ` [U-Boot] [PATCH v4 20/20] Update README to reflect new directory structure Peter Tyser
2010-04-13  8:59 ` [U-Boot] [PATCH v4 00/20] Reorganize " Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox