mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
5e49166140
In case of bare metal, newlib is built without any syscalls, and dmalloc fails to link with undefined references to _exit, fstat, open, sbrk and so on. Same for DUMA: depends on <memory.h>, not available with newlib. Signed-off-by: Alexey Neyman <stilor@att.net>
38 lines
730 B
Plaintext
38 lines
730 B
Plaintext
# D.U.M.A. - Detect Unintended Memory Access - Memory checker
|
|
|
|
## depends on ! BACKEND
|
|
## depends on ! BARE_METAL
|
|
|
|
## help D.U.M.A. - Detect Unintended Memory Access
|
|
## help A memory bound checker, with additional features.
|
|
## help Formerly known as Electric Fence.
|
|
|
|
config DUMA_A
|
|
bool
|
|
prompt "Build a static library"
|
|
default y
|
|
|
|
config DUMA_SO
|
|
bool
|
|
prompt "Build a shared library"
|
|
depends on SHARED_LIBS
|
|
default y
|
|
|
|
choice
|
|
bool
|
|
prompt "D.U.M.A. version"
|
|
# Don't remove next line
|
|
# CT_INSERT_VERSION_BELOW
|
|
|
|
config DUMA_V_2_5_15
|
|
bool
|
|
prompt "2_5_15"
|
|
|
|
endchoice
|
|
|
|
config DUMA_VERSION
|
|
string
|
|
# Don't remove next line
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
|
default "2_5_15" if DUMA_V_2_5_15
|