X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=lib_sh%2FMakefile;h=f7c6479426d74458108d442baa55a01e313c3adf;hb=2f103ee284e68934a648732db5e0b6ceb4a1ed8f;hp=40343812f74a23666affaef56d35e707a393b8ce;hpb=2caea1ebee1fb20e1b229f1f821225829fb87f0e;p=u-boot 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))