aboutsummaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorGravatar Guido Martínez <guido@vanguardiasur.com.ar>2015-06-03 19:34:03 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-09 22:49:39 +0200
commit29563047e074a7c0b73c9e6b629d08bac1e07cb5 (patch)
treea2bc149c8bfb3a514c99f44940c2ea35cffda9fc /toolchain
parent80b91a21d3707dfaa5d26e9e3a08d439f80be16e (diff)
downloadbuildroot-29563047e074a7c0b73c9e6b629d08bac1e07cb5.tar.gz
buildroot-29563047e074a7c0b73c9e6b629d08bac1e07cb5.tar.bz2
arch: tidy up mmu config
Instead of blacklisting which architectures support MMUs (mandatorily or optionally), introduce two Kconfig options that are selected by each architecture in each case. This simplifies the logic in BR2_USE_MMU. Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/toolchain-common.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index d50c908959..4f411c3aca 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -108,8 +108,8 @@ config BR2_NEEDS_GETTEXT_IF_LOCALE
default y if (BR2_NEEDS_GETTEXT && BR2_ENABLE_LOCALE)
config BR2_USE_MMU
- bool "Enable MMU support" if BR2_arm || BR2_armeb || BR2_sh || BR2_xtensa
- default y if !BR2_bfin
+ bool "Enable MMU support" if BR2_ARCH_HAS_MMU_OPTIONAL
+ default y if BR2_ARCH_HAS_MMU_OPTIONAL || BR2_ARCH_HAS_MMU_MANDATORY
help
If your target has a MMU, you should say Y here. If you
are unsure, just say Y.