summaryrefslogtreecommitdiff
path: root/cpu/ixp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/ixp/Makefile')
-rw-r--r--cpu/ixp/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpu/ixp/Makefile b/cpu/ixp/Makefile
index a673cb1b9..1403c4f39 100644
--- a/cpu/ixp/Makefile
+++ b/cpu/ixp/Makefile
@@ -26,12 +26,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a
START = start.o
+
COBJS-y += cpu.o
-ifndef CONFIG_USE_IRQ
+COBJS-$(CONFIG_USE_IRQ) += interrupts.o
COBJS-y += timer.o
-else
-COBJS-y += interrupts.o
-endif
SRCS := $(START:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))