X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=lib_sh%2FMakefile;h=f7c6479426d74458108d442baa55a01e313c3adf;hb=9372c3214808fab545227d8d0f76b3bfcc6760ec;hp=0e4fdee0935c13d80bb56cc0c9673e1161d79e67;hpb=53677ef18e25c97ac613349087c5cb33ae5a2741;p=u-boot diff --git a/lib_sh/Makefile b/lib_sh/Makefile index 0e4fdee093..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))