X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=lib_sh%2FMakefile;h=f7c6479426d74458108d442baa55a01e313c3adf;hb=4b99327a4121a28d2bdb2c2b841f5d97931ae905;hp=0e4fdee0935c13d80bb56cc0c9673e1161d79e67;hpb=0ad4770f8eb052a84800925ea4ab342cfc10dc32;p=oweals%2Fu-boot.git 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))