]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - cpu/arm920t/s3c24x0/Makefile
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / cpu / arm920t / s3c24x0 / Makefile
index 3a7c4b35fd8a0fa095bd8903cf03a17912a2b417..7e8d6ed5f2f9e0872daea1501dc4851379561759 100755 (executable)
@@ -25,11 +25,15 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(SOC).a
 
-COBJS  = i2c.o interrupts.o serial.o speed.o \
-         usb_ohci.o
+COBJS-$(CONFIG_USE_IRQ) += interrupts.o
+COBJS-y        += speed.o
+COBJS-y        += timer.o
+COBJS-y        += usb.o
+COBJS-y        += usb_ohci.o
 
-SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
+
+SRCS   := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
+OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
 
 all:   $(obj).depend $(LIB)