From: Jean-Christophe PLAGNIOL-VILLARD Date: Tue, 26 Feb 2008 08:06:25 +0100 Subject: [U-Boot-Users] [PATCH 4/8] [Makefile] Sort COBJS in lib_ Makefiles In-Reply-To: <20080225173511.22881.65449.stgit@hekate.izotz.org> References: <20080225173447.22881.32139.stgit@hekate.izotz.org> <20080225173511.22881.65449.stgit@hekate.izotz.org> Message-ID: <20080226070625.GB5179@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 18:35 Mon 25 Feb , Marian Balakowicz wrote: > Signed-off-by: Marian Balakowicz > --- > > 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 > It will be nice if you could split it in 1 line for 1 file as it -SOBJS = memcpy.o memcmp.o memset.o memmove.o +SOBJS += memcmp.o +SOBJS += mmemcpy.o +SOBJS += memmove.o +SOBJS += memset.o ..... > SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) > OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) > diff --git a/lib_i386/Makefile b/lib_i386/Makefile Best regards, J.