]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/arm920t/Makefile
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / cpu / arm920t / Makefile
index e02bc6ac8f869b672c56f3880d3b71c316bff819..cbb13b2a4c8f697040323b5d0c1845f3ef0790ce 100755 (executable)
@@ -26,10 +26,12 @@ include $(TOPDIR)/config.mk
 LIB    = $(obj)lib$(CPU).a
 
 START  = start.o
-COBJS  = cpu.o interrupts.o
 
-SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(COBJS) $(SOBJS))
+COBJS-y        += cpu.o
+COBJS-$(CONFIG_USE_IRQ)        += interrupts.o
+
+SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS-y) $(SOBJS))
 START  := $(addprefix $(obj),$(START))
 
 all:   $(obj).depend $(START) $(LIB)