xref: /OK3568_Linux_fs/buildroot/package/duma/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_DUMA
2*4882a593Smuzhiyun	bool "duma"
3*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
4*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
5*4882a593Smuzhiyun	# By design, duma uses page mapping to isolate
6*4882a593Smuzhiyun	# allocations. Non-MMU platforms cannot perform such
7*4882a593Smuzhiyun	# things.
8*4882a593Smuzhiyun	depends on BR2_USE_MMU
9*4882a593Smuzhiyun	# duma works using LD_PRELOAD, so it always needs to build a
10*4882a593Smuzhiyun	# shared library
11*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
12*4882a593Smuzhiyun	help
13*4882a593Smuzhiyun	  D.U.M.A. - Detect Unintended Memory Access. A fork of the
14*4882a593Smuzhiyun	  Electric Fence library. Detects buffer overflow and
15*4882a593Smuzhiyun	  underflow, and also memory leaks.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun	  http://duma.sourceforge.net
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunif BR2_PACKAGE_DUMA
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunconfig BR2_PACKAGE_DUMA_NO_LEAKDETECTION
22*4882a593Smuzhiyun	bool "disable memory leak detection"
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunendif # BR2_PACKAGE_DUMA
25*4882a593Smuzhiyun
26*4882a593Smuzhiyuncomment "duma needs a toolchain w/ C++, threads, dynamic library"
27*4882a593Smuzhiyun	depends on BR2_USE_MMU
28*4882a593Smuzhiyun	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
29*4882a593Smuzhiyun		BR2_STATIC_LIBS
30