X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=cpu%2Farm920t%2Fs3c24x0%2FMakefile;h=7e8d6ed5f2f9e0872daea1501dc4851379561759;hb=8d460a573e2a2ac4834636903865a0428ad0e629;hp=5d2be2c1b294ddc851115c0a53e217163cca2ed8;hpb=c8badbe500a752f42049e51042767ee62ea714e0;p=u-boot diff --git a/cpu/arm920t/s3c24x0/Makefile b/cpu/arm920t/s3c24x0/Makefile index 5d2be2c1b2..7e8d6ed5f2 100644 --- a/cpu/arm920t/s3c24x0/Makefile +++ b/cpu/arm920t/s3c24x0/Makefile @@ -25,13 +25,15 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(SOC).a -COBJS += speed.o -COBJS += timer.o -COBJS += usb.o -COBJS += 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)