summaryrefslogtreecommitdiffstats
path: root/package/duma/Config.in
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-05-18 19:45:00 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-05-18 23:35:25 +0200
commit822d5d5f19cb8de7f0fdad9db9dee2aad6d13a62 (patch)
treebc7e9d797d85ddd7641ba1738cfba60c3fd9f87a /package/duma/Config.in
parentb8242149e48d78a5b62f2d9743dfa421bc1b8c65 (diff)
downloadbuildroot-822d5d5f19cb8de7f0fdad9db9dee2aad6d13a62.tar.gz
buildroot-822d5d5f19cb8de7f0fdad9db9dee2aad6d13a62.zip
duma: not available on non-MMU platforms
By design, building duma on Blackfin and other non-MMU platforms is quite useless: it uses page mappings to detect buffer overrun and use-after-free programming errors. Therefore, this commit simply marks duma as not available on non-MMU platforms. Fixes: http://autobuild.buildroot.org/results/951/9519d7abb45c6a789874ec6bb84418c31a98916b/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/duma/Config.in')
-rw-r--r--package/duma/Config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/duma/Config.in b/package/duma/Config.in
index e9cc9b2fd7..7679e647c2 100644
--- a/package/duma/Config.in
+++ b/package/duma/Config.in
@@ -2,6 +2,10 @@ config BR2_PACKAGE_DUMA
bool "duma"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
+ # By design, duma uses page mapping to isolate
+ # allocations. Non-MMU platforms cannot perform such
+ # things.
+ depends on BR2_USE_MMU
help
D.U.M.A. - Detect Unintended Memory Access. A fork of the
Electric Fence library. Detects buffer overflow and
@@ -17,4 +21,5 @@ config BR2_PACKAGE_DUMA_NO_LEAKDETECTION
endif # BR2_PACKAGE_DUMA
comment "duma needs a toolchain w/ C++, threads"
+ depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
OpenPOWER on IntegriCloud