From: Jon Loeliger Date: Wed, 16 Jan 2008 10:45:55 -0600 Subject: [U-Boot-Users] [PATCH] FSL: Convert board/freescale/common/Makefile to use CONFIG_ In-Reply-To: References: <1200432069.14540.24.camel@ld0161-tx32> <20080115164142.dab1c06e.kim.phillips@freescale.com> Message-ID: <1200501955.30364.23.camel@ld0161-tx32> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 2008-01-15 at 16:59, Grant Likely wrote: > Nit: Don't do it this way; do this instead (to match the style used in > other Makefiles): > > -SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) > +SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) Double nit-nit: You actually have to cover OBJS as well as SRCS here. :-) SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) OBJS := $(addprefix $(obj),$(COBJS-y)) otherwise nothing gets built at all... [singing] O-ho, the swell shiny new patch Is a-coming' down the 'net, Oh please let be for me! [nuff] jdl