summaryrefslogtreecommitdiff
path: root/cpu/ixp/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-05-15 23:45:22 +0200
committerWolfgang Denk <wd@denx.de>2009-06-12 20:39:48 +0200
commit2c75c78d94574ee996db2aa9b511258519471dd6 (patch)
tree3e9bc34ec12ad3325aaf2d6bd348064d59dacec5 /cpu/ixp/Makefile
parent8fc3bb4b0603516ad641e2de252a400b85fd869b (diff)
downloadu-boot-imx-2c75c78d94574ee996db2aa9b511258519471dd6.zip
u-boot-imx-2c75c78d94574ee996db2aa9b511258519471dd6.tar.gz
u-boot-imx-2c75c78d94574ee996db2aa9b511258519471dd6.tar.bz2
ixp/interrupts: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'cpu/ixp/Makefile')
-rw-r--r--cpu/ixp/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/ixp/Makefile b/cpu/ixp/Makefile
index 7e98d87..a673cb1 100644
--- a/cpu/ixp/Makefile
+++ b/cpu/ixp/Makefile
@@ -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)