summaryrefslogtreecommitdiff
path: root/cpu/arm920t/s3c24x0/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-06-23 00:12:01 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-07-06 21:52:35 +0200
commit8d460a573e2a2ac4834636903865a0428ad0e629 (patch)
tree68ee0470997843b026d783008fb98ff8a16ecf80 /cpu/arm920t/s3c24x0/Makefile
parentc8badbe500a752f42049e51042767ee62ea714e0 (diff)
downloadu-boot-imx-8d460a573e2a2ac4834636903865a0428ad0e629.zip
u-boot-imx-8d460a573e2a2ac4834636903865a0428ad0e629.tar.gz
u-boot-imx-8d460a573e2a2ac4834636903865a0428ad0e629.tar.bz2
S3C24x0: extract interrupts from timer
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'cpu/arm920t/s3c24x0/Makefile')
-rw-r--r--cpu/arm920t/s3c24x0/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/cpu/arm920t/s3c24x0/Makefile b/cpu/arm920t/s3c24x0/Makefile
index 5d2be2c..7e8d6ed 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)