From: Peter Tyser Date: Sun, 4 Apr 2010 22:33:50 -0500 Subject: [U-Boot] [PATCH v2 00/20] Reorganize directory structure Message-ID: <1270438450-26675-1-git-send-email-ptyser@xes-inc.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This series reorganizes U-Boot's directory structure so that it looks like: /arch/$ARCH/ /lib/ /include/asm/ /cpu/ /config.mk (old lib_$ARCH/config.mk) /lib/ / /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 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 " with "#include " 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