Config.in 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. config BR2_PACKAGE_SYSPROF
  2. bool "sysprof"
  3. depends on BR2_USE_WCHAR # glib2, libdex, json-glib
  4. depends on BR2_TOOLCHAIN_HAS_THREADS # glib2, libdex, json-glib, polkit
  5. depends on BR2_USE_MMU # glib2, libdex, json-glib
  6. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libunwind, polkit
  7. depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
  8. depends on !BR2_STATIC_LIBS # libdex, libunwind, polkit
  9. depends on !BR2_OPTIMIZE_FAST # polkit
  10. depends on BR2_INSTALL_LIBSTDCPP
  11. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
  12. select BR2_PACKAGE_JSON_GLIB
  13. select BR2_PACKAGE_LIBDEX
  14. select BR2_PACKAGE_LIBGLIB2
  15. select BR2_PACKAGE_LIBUNWIND
  16. select BR2_PACKAGE_POLKIT
  17. help
  18. Sysprof is a statistical, system-wide profiler that can
  19. profile user and kernel code using the perf API.
  20. http://sysprof.com
  21. comment "sysprof needs a toolchain w/ dynamic library, wchar, threads, C++, gcc >= 7, headers >= 5.12"
  22. depends on BR2_USE_MMU
  23. depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
  24. depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
  25. !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
  26. BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
  27. !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
  28. comment "sysprof can't be built with Optimize for fast"
  29. depends on BR2_OPTIMIZE_FAST