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



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to