summaryrefslogtreecommitdiffstats
path: root/toolchain/toolchain-common.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-10 09:28:41 -0500
committerPeter Korsgaard <jacmet@sunsite.dk>2011-01-15 14:23:36 +0100
commite5e5f5d8684a23f774baf57e1f75281e9a6519bd (patch)
treef5c26b95572e2131b05e2b4b2408bc8404144cd7 /toolchain/toolchain-common.in
parentf55d8dff351fa8d08e9acc2d5688380b0864d77e (diff)
downloadbuildroot-e5e5f5d8684a23f774baf57e1f75281e9a6519bd.tar.gz
buildroot-e5e5f5d8684a23f774baf57e1f75281e9a6519bd.zip
toolchain: add a USE_MMU build option
Some packages need to know whether the MMU is in play, so add a toolchain option to expose the feature to them. [Peter: only show option on archs where it makes sense] Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/toolchain-common.in')
-rw-r--r--toolchain/toolchain-common.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index bdc6e76d6b..9106e1f2bd 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -66,6 +66,13 @@ config BR2_NEEDS_GETTEXT_IF_LOCALE
bool
default y if (BR2_NEEDS_GETTEXT && BR2_ENABLE_LOCALE)
+config BR2_USE_MMU
+ bool "Enable MMU support" if BR2_arm || BR2_armeb || BR2_mips || BR2_mipsel || BR2_sh || BR2_extensa
+ default y
+ help
+ If your target has a MMU, you should say Y here. If you
+ are unsure, just say Y.
+
config BR2_PREFER_SOFT_FLOAT
bool
default y if BR2_arm || BR2_armeb || BR2_avr32 || BR2_mips || BR2_mipsel
OpenPOWER on IntegriCloud