Config.in 858 B

1234567891011121314151617181920212223242526272829
  1. config BR2_PACKAGE_DUMA
  2. bool "duma"
  3. depends on BR2_INSTALL_LIBSTDCPP
  4. depends on BR2_TOOLCHAIN_HAS_THREADS
  5. # By design, duma uses page mapping to isolate
  6. # allocations. Non-MMU platforms cannot perform such
  7. # things.
  8. depends on BR2_USE_MMU
  9. # duma works using LD_PRELOAD, so it always needs to build a
  10. # shared library
  11. depends on !BR2_STATIC_LIBS
  12. help
  13. D.U.M.A. - Detect Unintended Memory Access. A fork of the
  14. Electric Fence library. Detects buffer overflow and
  15. underflow, and also memory leaks.
  16. https://github.com/johnsonjh/duma
  17. if BR2_PACKAGE_DUMA
  18. config BR2_PACKAGE_DUMA_NO_LEAKDETECTION
  19. bool "disable memory leak detection"
  20. endif # BR2_PACKAGE_DUMA
  21. comment "duma needs a toolchain w/ C++, threads, dynamic library"
  22. depends on BR2_USE_MMU
  23. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
  24. BR2_STATIC_LIBS