X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=lib_mips%2FMakefile;h=799eaf2658ff9137f0dd0daf7bb22fbb3674353f;hb=36cc8cbb3379d5166f882641123521735c469f92;hp=3163f00e011cbb5561ea323bb63bd56a97bfa34c;hpb=dfc8a9ee0040e53ada125a3c52f241e37f09cf28;p=u-boot diff --git a/lib_mips/Makefile b/lib_mips/Makefile index 3163f00e01..799eaf2658 100644 --- a/lib_mips/Makefile +++ b/lib_mips/Makefile @@ -25,12 +25,14 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(ARCH).a -SOBJS = +SOBJS-y += -COBJS = board.o time.o mips_linux.o +COBJS-y += board.o +COBJS-y += bootm.o +COBJS-y += time.o -SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) -OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) +SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) +OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) $(LIB): $(obj).depend $(OBJS) $(AR) $(ARFLAGS) $@ $(OBJS)