Config.in 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. config BR2_PACKAGE_LIBBLOCKDEV
  2. bool "libblockdev"
  3. depends on !BR2_STATIC_LIBS # kmod
  4. depends on BR2_USE_WCHAR # libglib2
  5. depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
  6. depends on BR2_USE_MMU # libglib2
  7. depends on BR2_PACKAGE_HAS_UDEV
  8. depends on BR2_ENABLE_LOCALE
  9. select BR2_PACKAGE_KMOD
  10. select BR2_PACKAGE_LIBGLIB2
  11. select BR2_PACKAGE_UTIL_LINUX
  12. select BR2_PACKAGE_UTIL_LINUX_LIBUUID
  13. help
  14. libblockdev is a C library supporting GObject introspection
  15. for manipulation of block devices. It has a plugin-based
  16. architecture where each technology (like LVM, Btrfs, MD RAID,
  17. Swap,...) is implemented in a separate plugin, possibly with
  18. multiple implementations.
  19. https://github.com/storaged-project/libblockdev/
  20. if BR2_PACKAGE_LIBBLOCKDEV
  21. comment "plugins"
  22. config BR2_PACKAGE_LIBBLOCKDEV_CRYPTO
  23. bool "crypto"
  24. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-c
  25. select BR2_PACKAGE_CRYPTSETUP
  26. select BR2_PACKAGE_KEYUTILS
  27. config BR2_PACKAGE_LIBBLOCKDEV_FS
  28. bool "filesystem"
  29. depends on BR2_ENABLE_LOCALE # parted
  30. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # parted
  31. select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
  32. select BR2_PACKAGE_PARTED
  33. select BR2_PACKAGE_E2FSPROGS
  34. comment "filesystem plugin needs a toolchain w/ locale, gcc >= 5"
  35. depends on !BR2_ENABLE_LOCALE || !BR2_TOOLCHAIN_GCC_AT_LEAST_5
  36. config BR2_PACKAGE_LIBBLOCKDEV_LOOP
  37. bool "loop"
  38. config BR2_PACKAGE_LIBBLOCKDEV_LVM2
  39. bool "lvm2"
  40. depends on BR2_ENABLE_LOCALE # parted
  41. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # parted
  42. select BR2_PACKAGE_PARTED
  43. select BR2_PACKAGE_LIBYAML
  44. select BR2_PACKAGE_LVM2
  45. comment "lvm2 support needs a toolchain w/ locale, gcc >= 5"
  46. depends on !BR2_ENABLE_LOCALE || !BR2_TOOLCHAIN_GCC_AT_LEAST_5
  47. config BR2_PACKAGE_LIBBLOCKDEV_MDRAID
  48. bool "mdraid"
  49. select BR2_PACKAGE_LIBBYTESIZE
  50. config BR2_PACKAGE_LIBBLOCKDEV_NVME
  51. bool "nvme"
  52. depends on BR2_USE_MMU # libnvme
  53. select BR2_PACKAGE_LIBNVME
  54. config BR2_PACKAGE_LIBBLOCKDEV_PART
  55. bool "part"
  56. depends on BR2_ENABLE_LOCALE # parted
  57. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # parted
  58. select BR2_PACKAGE_PARTED
  59. select BR2_PACKAGE_UTIL_LINUX_LIBFDISK
  60. comment "part plugin needs a toolchain w/ locale, gcc >= 5"
  61. depends on !BR2_ENABLE_LOCALE || !BR2_TOOLCHAIN_GCC_AT_LEAST_5
  62. config BR2_PACKAGE_LIBBLOCKDEV_SMART
  63. bool "smart"
  64. depends on BR2_PACKAGE_HAS_UDEV # libatasmart
  65. select BR2_PACKAGE_LIBATASMART
  66. comment "smart support needs udev /dev management"
  67. depends on !BR2_PACKAGE_HAS_UDEV
  68. config BR2_PACKAGE_LIBBLOCKDEV_SMARTMONTOOLS
  69. bool "smartmontools"
  70. depends on BR2_INSTALL_LIBSTDCPP # smartmontools
  71. depends on BR2_USE_MMU # smartmontools
  72. select BR2_PACKAGE_JSON_GLIB
  73. select BR2_PACKAGE_SMARTMONTOOLS # runtime
  74. comment "smartmontools support needs a toolchain w/ C++"
  75. depends on BR2_USE_MMU
  76. depends on !BR2_INSTALL_LIBSTDCPP
  77. config BR2_PACKAGE_LIBBLOCKDEV_SWAP
  78. bool "swap"
  79. select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
  80. endif
  81. comment "libblockdev needs udev /dev management and a toolchain w/ wchar, threads, dynamic library, locale"
  82. depends on BR2_USE_MMU
  83. depends on !BR2_PACKAGE_HAS_UDEV || BR2_STATIC_LIBS || \
  84. !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
  85. !BR2_ENABLE_LOCALE