| config BR2_PACKAGE_CRYPTSETUP | |
| bool "cryptsetup" | |
| select BR2_PACKAGE_POPT | |
| select BR2_PACKAGE_LVM2 | |
| select BR2_PACKAGE_UTIL_LINUX | |
| select BR2_PACKAGE_UTIL_LINUX_LIBUUID | |
| select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE | |
| depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2 | |
| depends on BR2_USE_MMU # lvm2 | |
| depends on !BR2_STATIC_LIBS # lvm2 | |
| depends on BR2_USE_WCHAR # util-linux | |
| # Triggers the _gp link issue | |
| depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305 | |
| depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 | |
| help | |
| This tool helps manipulate dm-crypt and luks partitions for | |
| on-disk encryption. | |
| https://gitlab.com/cryptsetup/cryptsetup | |
| comment "cryptsetup needs a toolchain w/ wchar, threads, dynamic library" | |
| depends on BR2_USE_MMU | |
| depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS | |
| depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305 | |
| depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 |