Config.in 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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_LVM2
  44. comment "lvm2 support needs a toolchain w/ locale, gcc >= 5"
  45. depends on !BR2_ENABLE_LOCALE || !BR2_TOOLCHAIN_GCC_AT_LEAST_5
  46. config BR2_PACKAGE_LIBBLOCKDEV_MDRAID
  47. bool "mdraid"
  48. select BR2_PACKAGE_LIBBYTESIZE
  49. config BR2_PACKAGE_LIBBLOCKDEV_NVME
  50. bool "nvme"
  51. select BR2_PACKAGE_LIBNVME
  52. config BR2_PACKAGE_LIBBLOCKDEV_PART
  53. bool "part"
  54. depends on BR2_ENABLE_LOCALE # parted
  55. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # parted
  56. select BR2_PACKAGE_PARTED
  57. select BR2_PACKAGE_UTIL_LINUX_LIBFDISK
  58. comment "part plugin needs a toolchain w/ locale, gcc >= 5"
  59. depends on !BR2_ENABLE_LOCALE || !BR2_TOOLCHAIN_GCC_AT_LEAST_5
  60. config BR2_PACKAGE_LIBBLOCKDEV_SWAP
  61. bool "swap"
  62. select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
  63. endif
  64. comment "libblockdev needs udev /dev management and a toolchain w/ wchar, threads, dynamic library, locale"
  65. depends on BR2_USE_MMU
  66. depends on !BR2_PACKAGE_HAS_UDEV || BR2_STATIC_LIBS || \
  67. !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
  68. !BR2_ENABLE_LOCALE