]> err.no Git - linux-2.6/blobdiff - arch/blackfin/Makefile
mn10300: add the MN10300/AM33 architecture to the kernel
[linux-2.6] / arch / blackfin / Makefile
index 2fc899c5e45f2e10a1a8c6bd843fca8e172c82a3..0edc402fef5400bd1b2bc63e5929e1c2a03ff7d7 100644 (file)
@@ -82,7 +82,11 @@ core-y   += arch/$(ARCH)/mach-$(MACHINE)/
 core-y   += arch/$(ARCH)/mach-$(MACHINE)/boards/
 endif
 
-core-y  += arch/$(ARCH)/kernel/cplb-nompu/
+ifeq ($(CONFIG_MPU),y)
+core-y += arch/$(ARCH)/kernel/cplb-mpu/
+else
+core-y += arch/$(ARCH)/kernel/cplb-nompu/
+endif
 
 libs-y   += arch/$(ARCH)/lib/