Config.in 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. # archs officially supported by upstream
  2. config BR2_PACKAGE_XMRIG_ARCH_SUPPORTS
  3. bool
  4. default y if BR2_ARM_CPU_ARMV7A
  5. default y if BR2_aarch64
  6. default y if BR2_x86_64
  7. default y if BR2_i386
  8. config BR2_PACKAGE_XMRIG
  9. bool "xmrig"
  10. depends on BR2_PACKAGE_XMRIG_ARCH_SUPPORTS
  11. depends on BR2_USE_MMU # libuv
  12. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
  13. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
  14. # xmrig needs fenv.h which is not provided by uclibc
  15. depends on !BR2_TOOLCHAIN_USES_UCLIBC
  16. depends on !BR2_STATIC_LIBS # libuv
  17. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
  18. depends on BR2_INSTALL_LIBSTDCPP
  19. select BR2_PACKAGE_LIBUV
  20. help
  21. RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner.
  22. https://xmrig.com
  23. comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library, C++, gcc >= 4.9"
  24. depends on BR2_PACKAGE_XMRIG_ARCH_SUPPORTS
  25. depends on BR2_USE_MMU
  26. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  27. depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
  28. BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \
  29. !BR2_INSTALL_LIBSTDCPP || \
  30. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9