summaryrefslogtreecommitdiffstats
path: root/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mpc5xxx/Makefile2
-rw-r--r--cpu/mpc5xxx/start.S2
2 files changed, 3 insertions, 1 deletions
diff --git a/cpu/mpc5xxx/Makefile b/cpu/mpc5xxx/Makefile
index 779e1ddfcd..dde8ace473 100644
--- a/cpu/mpc5xxx/Makefile
+++ b/cpu/mpc5xxx/Makefile
@@ -3,7 +3,7 @@ obj-y += cpu_init.o
obj-$(CONFIG_DRIVER_NET_MPC5200) += firmware_sc_task_bestcomm.impl.o
#obj-y += firmware_sc_task.impl.o
obj-y += ide.o
-obj-y += interrupts.o
+obj-$(CONFIG_INTERRUPTS) += interrupts.o
#obj-y += io.o
obj-y += loadtask.o
obj-y += pci_mpc5200.o
diff --git a/cpu/mpc5xxx/start.S b/cpu/mpc5xxx/start.S
index 063288c2d6..795fdd4ff6 100644
--- a/cpu/mpc5xxx/start.S
+++ b/cpu/mpc5xxx/start.S
@@ -192,7 +192,9 @@ _start_of_vectors:
STD_EXCEPTION(0x400, InstStorage, UnknownException)
/* External Interrupt exception. */
+#ifdef CONFIG_INTERRUPTS
STD_EXCEPTION(0x500, ExtInterrupt, external_interrupt)
+#endif
/* Alignment exception. */
. = 0x600