[U-Boot] [PATCH v2 1/6] Move architecture specific config.mk files into subdirs

Peter Tyser ptyser at xes-inc.com
Fri Jul 10 18:03:15 CEST 2009


This cleans up U-Boot's toplevel directory a bit and makes the
architecture 'config.mk' file naming and location similar to board and
cpu 'config.mk' files

Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
---
 config.mk                                        |    2 +-
 arm_config.mk => lib_arm/config.mk               |    0
 avr32_config.mk => lib_avr32/config.mk           |    0
 blackfin_config.mk => lib_blackfin/config.mk     |    0
 i386_config.mk => lib_i386/config.mk             |    0
 m68k_config.mk => lib_m68k/config.mk             |    0
 microblaze_config.mk => lib_microblaze/config.mk |    0
 mips_config.mk => lib_mips/config.mk             |    0
 nios_config.mk => lib_nios/config.mk             |    0
 nios2_config.mk => lib_nios2/config.mk           |    0
 ppc_config.mk => lib_ppc/config.mk               |    0
 sh_config.mk => lib_sh/config.mk                 |    0
 sparc_config.mk => lib_sparc/config.mk           |    0
 13 files changed, 1 insertions(+), 1 deletions(-)
 rename arm_config.mk => lib_arm/config.mk (100%)
 rename avr32_config.mk => lib_avr32/config.mk (100%)
 rename blackfin_config.mk => lib_blackfin/config.mk (100%)
 rename i386_config.mk => lib_i386/config.mk (100%)
 rename m68k_config.mk => lib_m68k/config.mk (100%)
 rename microblaze_config.mk => lib_microblaze/config.mk (100%)
 rename mips_config.mk => lib_mips/config.mk (100%)
 rename nios_config.mk => lib_nios/config.mk (100%)
 rename nios2_config.mk => lib_nios2/config.mk (100%)
 rename ppc_config.mk => lib_ppc/config.mk (100%)
 rename sh_config.mk => lib_sh/config.mk (100%)
 rename sparc_config.mk => lib_sparc/config.mk (100%)

diff --git a/config.mk b/config.mk
index 7fc0453..02700f3 100644
--- a/config.mk
+++ b/config.mk
@@ -85,3 +85,3 @@ sinclude $(OBJTREE)/include/autoconf.mk
 ifdef	ARCH
-sinclude $(TOPDIR)/$(ARCH)_config.mk	# include architecture dependend rules
+sinclude $(TOPDIR)/lib_$(ARCH)/config.mk	# include architecture dependend rules
 endif
diff --git a/arm_config.mk b/lib_arm/config.mk
similarity index 100%
rename from arm_config.mk
rename to lib_arm/config.mk
diff --git a/avr32_config.mk b/lib_avr32/config.mk
similarity index 100%
rename from avr32_config.mk
rename to lib_avr32/config.mk
diff --git a/blackfin_config.mk b/lib_blackfin/config.mk
similarity index 100%
rename from blackfin_config.mk
rename to lib_blackfin/config.mk
diff --git a/i386_config.mk b/lib_i386/config.mk
similarity index 100%
rename from i386_config.mk
rename to lib_i386/config.mk
diff --git a/m68k_config.mk b/lib_m68k/config.mk
similarity index 100%
rename from m68k_config.mk
rename to lib_m68k/config.mk
diff --git a/microblaze_config.mk b/lib_microblaze/config.mk
similarity index 100%
rename from microblaze_config.mk
rename to lib_microblaze/config.mk
diff --git a/mips_config.mk b/lib_mips/config.mk
similarity index 100%
rename from mips_config.mk
rename to lib_mips/config.mk
diff --git a/nios_config.mk b/lib_nios/config.mk
similarity index 100%
rename from nios_config.mk
rename to lib_nios/config.mk
diff --git a/nios2_config.mk b/lib_nios2/config.mk
similarity index 100%
rename from nios2_config.mk
rename to lib_nios2/config.mk
diff --git a/ppc_config.mk b/lib_ppc/config.mk
similarity index 100%
rename from ppc_config.mk
rename to lib_ppc/config.mk
diff --git a/sh_config.mk b/lib_sh/config.mk
similarity index 100%
rename from sh_config.mk
rename to lib_sh/config.mk
diff --git a/sparc_config.mk b/lib_sparc/config.mk
similarity index 100%
rename from sparc_config.mk
rename to lib_sparc/config.mk
-- 
1.6.2.1



More information about the U-Boot mailing list