Reorganize directory structure
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest20 patches 0 repliesNew
- v3 posting 2/20 of 20 patches 0 repliesSuperseded
- v3 posting 1/220 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 20 patches | 0 replies | Superseded | |
| v1 | 0 of 17 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
- Set CPUDIR variable earlier to prevent build errors on some arches
- Fix out of tree building for ARM
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | Create CPUDIR variableMakefile board/ board/ +11 more | +33 | 0 replies | |
| 2/20 | Change directory-specific CFLAGS to use full pathboard/ board/ board/ +17 more | +30 | 0 replies | |
| 3/20 | Move lib_$ARCH directories to arch/$ARCH/libMakefile README arch/ +248 more | +232 | 0 replies | |
| 4/20 | Rename lib_generic/ to lib/Makefile README board/ +191 more | +321 | 0 replies | |
| 5/20 | Move libfdt/ into lib/Makefile lib/ lib/ +9 more | +7 | 0 replies | |
| 6/20 | Replace "#include <asm-$ARCH/$FILE>" with "#include <asm/$FILE>"board/ board/ board/ +30 more | +36 | 0 replies | |
| 7/20 | Move architecture-specific includes to arch/$ARCH/include/asmarch/ arch/ arch/ +626 more | +9 | 0 replies | |
| 8/20 | ppc: Move cpu/$CPU to arch/ppc/cpu/$CPUMakefile README arch/ +439 more | +392 | 3 replies | |
| 8/20 | ppc: Move cpu/$CPU to arch/ppc/cpu/$CPU | +0 | 0 replies | |
| 9/20 | sh: Move cpu/$CPU to arch/sh/cpu/$CPUarch/ arch/ arch/ +22 more | +4 | 0 replies | |
| 10/20 | arm: Move cpu/$CPU to arch/arm/cpu/$CPUMakefile arch/ arch/ +404 more | +56 | 0 replies | |
| 11/20 | m68k: Move cpu/$CPU to arch/m68k/cpu/$CPUarch/ arch/ arch/ +76 more | +88 | 0 replies | |
| 12/20 | blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/*Makefile arch/ arch/ +26 more | +30 | 0 replies | |
| 13/20 | mips: Move cpu/mips/* to arch/mips/cpu/*arch/ arch/ arch/ +16 more | +6 | 0 replies | |
| 14/20 | avr32: Move cpu/at32ap/* to arch/avr32/cpu/*arch/ arch/ arch/ +15 more | +1 | 0 replies | |
| 15/20 | microblaze: Move cpu/microblaze/* to arch/microblaze/cpu/*arch/ arch/ arch/ +6 more | +1 | 0 replies | |
| 16/20 | i386: Move cpu/i386/* to arch/i386/cpu/*arch/ arch/ arch/ +14 more | +4 | 0 replies | |
| 17/20 | sparc: Move cpu/leon[23] to arch/sparc/cpu/leon[23]arch/ arch/ arch/ +21 more | +5 | 0 replies | |
| 18/20 | nios: Move cpu/nios/* to arch/nios/cpu/*arch/ arch/ arch/ +15 more | +9 | 0 replies | |
| 19/20 | nios2: Move cpu/nios2/* to arch/nios2/cpu/*arch/ arch/ arch/ +6 more | +0 | 0 replies | |
| 20/20 | Update README to reflect new directory structureREADME | +91 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [U-Boot] [PATCH v4 00/20] Reorganize directory structure
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