From: Masahiro Yamada Date: Mon, 21 Oct 2013 02:53:24 +0000 (+0900) Subject: sparc: fix a link error X-Git-Tag: v2014.01-rc1~153 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9f414a3ab1537ed52b57a63723ff07661f6cbae1;p=u-boot sparc: fix a link error Before this commit, arch/sparc/lib/Makefile used both COBJS and COBJS-y. And it missed to add COBJS-y into OBJS. This means bootm.o was never compiled even if CONFIG_CMD_BOOTM=y Signed-off-by: Masahiro Yamada Cc: Daniel Hellstrom --- diff --git a/arch/sparc/lib/Makefile b/arch/sparc/lib/Makefile index 7e78d44754..9914e35269 100644 --- a/arch/sparc/lib/Makefile +++ b/arch/sparc/lib/Makefile @@ -14,6 +14,8 @@ SOBJS = COBJS = board.o cache.o interrupts.o time.o COBJS-$(CONFIG_CMD_BOOTM) += bootm.o +COBJS := $(COBJS) $(COBJS-y) + SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))