summaryrefslogtreecommitdiff
path: root/lib_sh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib_sh/Makefile')
-rw-r--r--lib_sh/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib_sh/Makefile b/lib_sh/Makefile
index 40343812f7..f7c6479426 100644
--- a/lib_sh/Makefile
+++ b/lib_sh/Makefile
@@ -26,7 +26,11 @@ SOBJS-y +=
COBJS-y += board.o
COBJS-y += bootm.o
-# COBJS-y += time.o
+ifeq ($(CONFIG_SH2),y)
+COBJS-y += time_sh2.o
+else
+COBJS-y += time.o
+endif
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))