[U-Boot-Users] [PATCH 4/8] [Makefile] Sort COBJS in lib_<arch> Makefiles

Marian Balakowicz m8 at semihalf.com
Mon Feb 25 18:35:11 CET 2008


Signed-off-by: Marian Balakowicz <m8 at semihalf.com>
---

 lib_avr32/Makefile      |    2 +-
 lib_blackfin/Makefile   |    4 ++--
 lib_i386/Makefile       |    4 ++--
 lib_m68k/Makefile       |    2 +-
 lib_microblaze/Makefile |    2 +-
 lib_mips/Makefile       |    2 +-
 lib_nios/Makefile       |    2 +-
 lib_nios2/Makefile      |    2 +-
 lib_ppc/Makefile        |    5 ++---
 9 files changed, 12 insertions(+), 13 deletions(-)


diff --git a/lib_avr32/Makefile b/lib_avr32/Makefile
index ebe237b..afbce45 100644
--- a/lib_avr32/Makefile
+++ b/lib_avr32/Makefile
@@ -29,7 +29,7 @@ LIB	= $(obj)lib$(ARCH).a
 
 SOBJS	= memset.o
 
-COBJS	= board.o interrupts.o bootm.o
+COBJS	= board.o bootm.o interrupts.o
 
 SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
diff --git a/lib_blackfin/Makefile b/lib_blackfin/Makefile
index ac3fb28..4a262fc 100644
--- a/lib_blackfin/Makefile
+++ b/lib_blackfin/Makefile
@@ -29,9 +29,9 @@ include $(TOPDIR)/config.mk
 
 LIB	= $(obj)lib$(ARCH).a
 
-SOBJS	= memcpy.o memcmp.o memset.o memmove.o
+SOBJS	= memcmp.o memcpy.o memmove.o memset.o
 
-COBJS	= post.o tests.o board.o bootm.o bf533_string.o cache.o muldi3.o
+COBJS	= bf533_string.o board.o bootm.o cache.o muldi3.o post.o tests.o
 
 SRCS 	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
diff --git a/lib_i386/Makefile b/lib_i386/Makefile
index ef0ba54..004278f 100644
--- a/lib_i386/Makefile
+++ b/lib_i386/Makefile
@@ -27,8 +27,8 @@ LIB	= $(obj)lib$(ARCH).a
 
 SOBJS	= bios.o bios_pci.o realmode_switch.o
 
-COBJS	= board.o bios_setup.o bootm.o zimage.o realmode.o \
-	  pci_type1.o pci.o video_bios.o video.o
+COBJS	= bios_setup.o board.o bootm.o pci.o pci_type1.o \
+	  realmode.o video_bios.o video.o zimage.o
 
 SRCS 	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
diff --git a/lib_m68k/Makefile b/lib_m68k/Makefile
index d515223..efde75d 100644
--- a/lib_m68k/Makefile
+++ b/lib_m68k/Makefile
@@ -27,7 +27,7 @@ LIB	= $(obj)lib$(ARCH).a
 
 SOBJS	=
 
-COBJS	= cache.o traps.o time.o interrupts.o board.o bootm.o
+COBJS	= board.o bootm.o cache.o interrupts.o time.o traps.o
 
 SRCS 	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
diff --git a/lib_microblaze/Makefile b/lib_microblaze/Makefile
index 9b317a2..9c3b519 100644
--- a/lib_microblaze/Makefile
+++ b/lib_microblaze/Makefile
@@ -27,7 +27,7 @@ LIB	= $(obj)lib$(ARCH).a
 
 SOBJS	=
 
-COBJS	= board.o bootm.o time.o cache.o
+COBJS	= board.o bootm.o cache.o time.o
 
 SRCS 	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
diff --git a/lib_mips/Makefile b/lib_mips/Makefile
index 93cca7a..bfcf463 100644
--- a/lib_mips/Makefile
+++ b/lib_mips/Makefile
@@ -27,7 +27,7 @@ LIB	= $(obj)lib$(ARCH).a
 
 SOBJS	=
 
-COBJS	= board.o time.o bootm.o
+COBJS	= board.o bootm.o time.o
 
 SRCS 	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
diff --git a/lib_nios/Makefile b/lib_nios/Makefile
index d8ae7bd..b81a3d4 100644
--- a/lib_nios/Makefile
+++ b/lib_nios/Makefile
@@ -27,7 +27,7 @@ LIB	= $(obj)lib$(ARCH).a
 
 SOBJS	=
 
-COBJS	= board.o cache.o divmod.o bootm.o mult.o time.o
+COBJS	= board.o bootm.o cache.o divmod.o mult.o time.o
 
 SRCS 	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
diff --git a/lib_nios2/Makefile b/lib_nios2/Makefile
index 5f996d3..c69cdd7 100644
--- a/lib_nios2/Makefile
+++ b/lib_nios2/Makefile
@@ -27,7 +27,7 @@ LIB	= $(obj)lib$(ARCH).a
 
 SOBJS	= cache.o
 
-COBJS	= board.o divmod.o bootm.o mult.o time.o
+COBJS	= board.o bootm.o divmod.o mult.o time.o
 
 SRCS 	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
diff --git a/lib_ppc/Makefile b/lib_ppc/Makefile
index 61507b0..21f644e 100644
--- a/lib_ppc/Makefile
+++ b/lib_ppc/Makefile
@@ -27,9 +27,8 @@ LIB	= $(obj)lib$(ARCH).a
 
 SOBJS	= ppccache.o ppcstring.o ticks.o
 
-COBJS	= board.o \
-	  bat_rw.o cache.o extable.o kgdb.o time.o interrupts.o \
-	  bootm.o
+COBJS	= bat_rw.o board.o bootm.o cache.o extable.o \
+	  interrupts.o kgdb.o time.o
 
 SRCS 	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))





More information about the U-Boot mailing list