]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sparc: fix a link error
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 21 Oct 2013 02:53:24 +0000 (11:53 +0900)
committerTom Rini <trini@ti.com>
Thu, 31 Oct 2013 17:26:44 +0000 (13:26 -0400)
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 <yamada.m@jp.panasonic.com>
Cc: Daniel Hellstrom <daniel@gaisler.com>
arch/sparc/lib/Makefile

index 7e78d447549929eb8e088432d28c3d911f97f043..9914e352690a9d2feaadbdfa84e2f9ca9f5e84a2 100644 (file)
@@ -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))