summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Edworthy <PHIL.EDWORTHY@renesas.com>2012-03-16 05:37:09 +0000
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2012-03-26 10:09:31 +0900
commit75d79840ff8ea4e5a21b2b343f0316c57354897d (patch)
tree7e9741d379885584c5856e194273406f9999392b
parentf8670a2eb7ae1dba4b758de736515dc24af8de10 (diff)
downloadu-boot-imx-75d79840ff8ea4e5a21b2b343f0316c57354897d.zip
u-boot-imx-75d79840ff8ea4e5a21b2b343f0316c57354897d.tar.gz
u-boot-imx-75d79840ff8ea4e5a21b2b343f0316c57354897d.tar.bz2
sh: Fix building ecovec board
Build error was with board/renesas/ecovec/lowlevel_init.S include/version.h: Assembler messages: include/version.h:41: Error: unknown opcode lowlevel_init.S:48: Error: unknown opcode lowlevel_init.S:51: Error: unknown opcode etc Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-rw-r--r--board/renesas/ecovec/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/board/renesas/ecovec/Makefile b/board/renesas/ecovec/Makefile
index 8fdc0c9..b592a9c 100644
--- a/board/renesas/ecovec/Makefile
+++ b/board/renesas/ecovec/Makefile
@@ -25,8 +25,12 @@ LIB = $(obj)lib$(BOARD).o
COBJS := ecovec.o
SOBJS := lowlevel_init.o
-$(LIB): $(obj).depend $(COBJS) $(SOBJS)
- $(call cmd_link_o_target, $(COBJS) $(SOBJS))
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+SOBJS := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(OBJS) $(SOBJS)
+ $(call cmd_link_o_target, $(OBJS) $(SOBJS))
#########################################################################