]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib_sh/Makefile
TQM8548: PCI express support
[karo-tx-uboot.git] / lib_sh / Makefile
index cf127a826c0c616ed8e6a9fec68a24980b10540b..0e4fdee0935c13d80bb56cc0c9673e1161d79e67 100644 (file)
@@ -22,12 +22,14 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(ARCH).a
 
-SOBJS  =
+SOBJS-y        +=
 
-COBJS  = board.o sh_linux.o # time.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)