projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sh: Add support zimageboot command for Renesas SH
[oweals/u-boot.git]
/
arch
/
sh
/
lib
/
Makefile
diff --git
a/arch/sh/lib/Makefile
b/arch/sh/lib/Makefile
index f7c6479426d74458108d442baa55a01e313c3adf..c0670cbc88c7d87095ae95a3dc35cbe98ac43e10 100644
(file)
--- a/
arch/sh/lib/Makefile
+++ b/
arch/sh/lib/Makefile
@@
-20,7
+20,7
@@
include $(TOPDIR)/config.mk
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(ARCH).
a
+LIB = $(obj)lib$(ARCH).
o
SOBJS-y +=
SOBJS-y +=
@@
-31,12
+31,15
@@
COBJS-y += time_sh2.o
else
COBJS-y += time.o
endif
else
COBJS-y += time.o
endif
+ifeq ($(CONFIG_CMD_SH_ZIMAGEBOOT),y)
+COBJS-y += zimageboot.o
+endif
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS)
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS)
- $(
AR) $(ARFLAGS) $@ $(OBJS
)
+ $(
call cmd_link_o_target, $(OBJS)
)
#########################################################################
#########################################################################