Remove various unused interrupt related code
[platform/kernel/u-boot.git] / arch / arm / cpu / arm920t / Makefile
index 29a350c..8faf34b 100644 (file)
@@ -8,9 +8,13 @@
 extra-y        = start.o
 
 obj-y  += cpu.o
-obj-$(CONFIG_USE_IRQ)  += interrupts.o
 
-obj-$(if $(filter a320,$(SOC)),y) += a320/
 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