kumquat-buildroot/package/mmc-utils/Config.in
Markus Mayer 4c7f1a439a mmc-utils: allow enabling of dangerous commands
Provide a config option that allows the user to enable mmc's "dangerous
commands" if so desired. mmc-utils considers turning on permanent write
protection on a device a "dangerous command" and doesn't offer it by
default.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
[yann.morin.1998@free.fr:
  - use if-endif block
  - move closer to main option for proper indentation
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-10-14 21:16:35 +02:00

22 lines
603 B
Plaintext

config BR2_PACKAGE_MMC_UTILS
bool "mmc-utils"
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
help
MMC utils
https://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git
if BR2_PACKAGE_MMC_UTILS
config BR2_PACKAGE_MMC_UTILS_ENABLE_DANGEROUS_COMMANDS
bool "Enable dangerous commands"
help
Enable support for dangerous commands in mmc-utils. mmc-utils
considers turning on permanent write protection on a device a
"dangerous command" and doesn't offer it by default.
endif
comment "mmc-utils needs a toolchain w/ headers >= 3.0"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0