summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-04-07 17:02:56 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-04-11 15:58:21 +0200
commitd332597c7c161d3f59c48102e1d681bd13b6e0e8 (patch)
tree226f1264f2e4a366ab4d8ec638d9330bd2daa841 /arch/arm/cpu/Makefile
parent523daf675a2d9a1fd01edc854c98eb4ad2726962 (diff)
downloadbarebox-d332597c7c161d3f59c48102e1d681bd13b6e0e8.tar.gz
barebox-d332597c7c161d3f59c48102e1d681bd13b6e0e8.tar.xz
ARM: make exception handling optional
On several boards without MMU support the vectors cannot be mapped to 0x0 and exception support is nonfunctional anyway, so make this configurable. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/cpu/Makefile')
-rw-r--r--arch/arm/cpu/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile
index 036768eb60..e30ae1cc1f 100644
--- a/arch/arm/cpu/Makefile
+++ b/arch/arm/cpu/Makefile
@@ -1,6 +1,6 @@
obj-y += cpu.o
-obj-y += exceptions.o
-obj-y += interrupts.o
+obj-$(CONFIG_ARM_EXCEPTIONS) += exceptions.o
+obj-$(CONFIG_ARM_EXCEPTIONS) += interrupts.o
obj-y += start.o
#