From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Loeliger Date: Tue, 26 Feb 2008 09:28:57 -0600 Subject: [U-Boot-Users] [PATCH 4/8] [Makefile] Sort COBJS in lib_ Makefiles In-Reply-To: <20080226070625.GB5179@game.jcrosoft.org> References: <20080225173447.22881.32139.stgit@hekate.izotz.org> <20080225173511.22881.65449.stgit@hekate.izotz.org> <20080226070625.GB5179@game.jcrosoft.org> Message-ID: <47C43039.6070701@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Jean-Christophe PLAGNIOL-VILLARD wrote: > 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. > Yes, please. But also, while you are there, we need to go one step further and convert to SOBJS-y and COBJS-y as well. If you don't do it, I will eventually be converting them all to look like this: COBJS-y += file.o COBJS-y += other.o OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) Might as well head in that direction as we go along... Thanks, jdl