]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/ixp/Makefile
ixp/interrupts: Move conditional compilation to Makefile
[karo-tx-uboot.git] / cpu / ixp / Makefile
index 7e98d870261918f866c2e57306fc8f95689e1d8b..a673cb1b9fc3a7c6f5bc46f4ce3e4ee503a0603d 100644 (file)
@@ -27,9 +27,10 @@ LIB  = $(obj)lib$(CPU).a
 
 START  = start.o
 COBJS-y        += cpu.o
-COBJS-y        += interrupts.o
 ifndef CONFIG_USE_IRQ
 COBJS-y        += timer.o
+else
+COBJS-y        += interrupts.o
 endif
 
 SRCS   := $(START:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)