kumquat-buildroot/package/mtd/Config.in
Baruch Siach 42a3fee35e package/mtd: ubihealthd needs kernel 3.17+
ubihealthd requires getrandom(2) that was introduced in kernel version
3.17. ubihealthd does not build when getrandom(2) is not detected, so
the following installation step fails.

Technically the dependency should also be on glibc version 2.25+. But we
have no way to depend on glibc versions of external toolchains.
Toolchain built with kernel headers older than 3.17 can build
ubihealthd, but it will fail at run-time. So this is a pretty close
approximation of the actual dependency.

Fixes:
http://autobuild.buildroot.net/results/2d42b0a626367e4051d0e2aadcce39e974fe09d4/
http://autobuild.buildroot.net/results/a2b6dbf707275e3f8262479c0650cfc7cb9abc8d/

Cc: Matt Weber <matthew.weber@collins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-08-26 23:07:52 +02:00

224 lines
4.1 KiB
Plaintext

config BR2_PACKAGE_MTD
bool "mtd, jffs2 and ubi/ubifs tools"
help
Build mtd, jffs2 and ubi/ubifs tools
http://www.linux-mtd.infradead.org/
if BR2_PACKAGE_MTD
# The two hidden options below match mtd configure script options
# --enable-jffs and --enable-ubifs
config BR2_PACKAGE_MTD_JFFS_UTILS
bool
select BR2_PACKAGE_LZO
select BR2_PACKAGE_ZLIB
config BR2_PACKAGE_MTD_UBIFS_UTILS
bool
select BR2_PACKAGE_LZO
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
select BR2_PACKAGE_ZLIB
comment "MTD tools selection"
config BR2_PACKAGE_MTD_DOCFDISK
bool "docfdisk"
config BR2_PACKAGE_MTD_DOC_LOADBIOS
bool "doc_loadbios"
config BR2_PACKAGE_MTD_FLASHCP
bool "flashcp"
default y
config BR2_PACKAGE_MTD_FLASH_ERASE
bool "flash_erase"
default y
config BR2_PACKAGE_MTD_FLASH_LOCK
bool "flash_lock"
default y
config BR2_PACKAGE_MTD_FLASH_OTP_DUMP
bool "flash_otp_dump"
config BR2_PACKAGE_MTD_FLASH_OTP_INFO
bool "flash_otp_info"
config BR2_PACKAGE_MTD_FLASH_OTP_LOCK
bool "flash_otp_lock"
config BR2_PACKAGE_MTD_FLASH_OTP_WRITE
bool "flash_otp_write"
config BR2_PACKAGE_MTD_FLASH_OTP_ERASE
bool "flash_otp_erase"
config BR2_PACKAGE_MTD_FLASH_UNLOCK
bool "flash_unlock"
default y
config BR2_PACKAGE_MTD_FTL_CHECK
bool "ftl_check"
config BR2_PACKAGE_MTD_FTL_FORMAT
bool "ftl_format"
config BR2_PACKAGE_MTD_JFFS2DUMP
bool "jffs2dump"
select BR2_PACKAGE_MTD_JFFS_UTILS
config BR2_PACKAGE_MTD_MKFSJFFS2
bool "mkfs.jffs2"
select BR2_PACKAGE_MTD_JFFS_UTILS
config BR2_PACKAGE_MTD_MKFSUBIFS
bool "mkfs.ubifs"
select BR2_PACKAGE_MTD_UBIFS_UTILS
config BR2_PACKAGE_MTD_MTD_DEBUG
bool "mtd_debug"
default y
config BR2_PACKAGE_MTD_MTDPART
bool "mtdpart"
config BR2_PACKAGE_MTD_NANDDUMP
bool "nanddump"
default y
config BR2_PACKAGE_MTD_NANDTEST
bool "nandtest"
default y
config BR2_PACKAGE_MTD_NANDWRITE
bool "nandwrite"
default y
config BR2_PACKAGE_MTD_NANDFLIPBITS
bool "nandflipbits"
config BR2_PACKAGE_MTD_NFTLDUMP
bool "nftldump"
config BR2_PACKAGE_MTD_NFTL_FORMAT
bool "nftl_format"
config BR2_PACKAGE_MTD_RECV_IMAGE
bool "recv_image"
config BR2_PACKAGE_MTD_RFDDUMP
bool "rfddump"
config BR2_PACKAGE_MTD_RFDFORMAT
bool "rfdformat"
config BR2_PACKAGE_MTD_SERVE_IMAGE
bool "serve_image"
config BR2_PACKAGE_MTD_SUMTOOL
bool "sumtool"
select BR2_PACKAGE_MTD_JFFS_UTILS
config BR2_PACKAGE_MTD_MTDINFO
bool "mtdinfo"
default y
config BR2_PACKAGE_MTD_UBIATTACH
bool "ubiattach"
default y
config BR2_PACKAGE_MTD_UBICRC32
bool "ubicrc32"
default y
config BR2_PACKAGE_MTD_UBIDETACH
bool "ubidetach"
default y
config BR2_PACKAGE_MTD_UBIFORMAT
bool "ubiformat"
default y
config BR2_PACKAGE_MTD_UBIHEALTHD
bool "ubihealthd"
default y
depends on BR2_PACKAGE_MTD_UBIFS_UTILS
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # getrandom()
config BR2_PACKAGE_MTD_UBIMKVOL
bool "ubimkvol"
default y
config BR2_PACKAGE_MTD_UBINFO
bool "ubinfo"
default y
config BR2_PACKAGE_MTD_UBINIZE
bool "ubinize"
default y
config BR2_PACKAGE_MTD_UBIRENAME
bool "ubirename"
default y
config BR2_PACKAGE_MTD_UBIRMVOL
bool "ubirmvol"
default y
config BR2_PACKAGE_MTD_UBIRSVOL
bool "ubirsvol"
default y
config BR2_PACKAGE_MTD_UBIUPDATEVOL
bool "ubiupdatevol"
default y
config BR2_PACKAGE_MTD_UBIBLOCK
bool "ubiblock"
default y
config BR2_PACKAGE_MTD_TESTS
bool "MTD test tools"
depends on BR2_USE_MMU # fork() in fstests
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Build and install tools for testing MTD devices and drivers.
if BR2_PACKAGE_MTD_TESTS
config BR2_PACKAGE_MTD_FLASH_READTEST
bool "flash_readtest"
config BR2_PACKAGE_MTD_FLASH_SPEED
bool "flash_speed"
config BR2_PACKAGE_MTD_FLASH_STRESS
bool "flash_stress"
config BR2_PACKAGE_MTD_FLASH_TORTURE
bool "flash_torture"
config BR2_PACKAGE_MTD_INTEGCK
bool "integck"
config BR2_PACKAGE_MTD_NANDBITERRS
bool "nandbiterrs"
config BR2_PACKAGE_MTD_NANDPAGETEST
bool "nandpagetest"
config BR2_PACKAGE_MTD_NANDSUBPAGETEST
bool "nandsubpagetest"
endif
comment "MTD test tools need a toolchain w/ threads"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS
endif