Remove various unused interrupt related code
[platform/kernel/u-boot.git] / arch / arm / cpu / arm920t / Makefile
index aac8043..8faf34b 100644 (file)
@@ -8,4 +8,13 @@
 extra-y        = start.o
 
 obj-y  += cpu.o
-obj-$(CONFIG_USE_IRQ)  += interrupts.o
+
+obj-$(CONFIG_EP93XX) += ep93xx/
+obj-$(CONFIG_IMX) += imx/
+obj-$(CONFIG_S3C24X0) += s3c24x0/
+
+# some files can only build in ARM mode
+
+ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
+CFLAGS_cpu.o := -marm
+endif