[U-Boot] [PATCH 01/18] sparc: fix a link error
Masahiro Yamada
yamada.m at jp.panasonic.com
Mon Oct 21 04:53:24 CEST 2013
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 at jp.panasonic.com>
Cc: Daniel Hellstrom <daniel at gaisler.com>
---
arch/sparc/lib/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/sparc/lib/Makefile b/arch/sparc/lib/Makefile
index 7e78d44..9914e35 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))
--
1.8.1.2
More information about the U-Boot
mailing list