package/util-linux: lsfd needs headers >= 3.19

lsfd depends on kcmp.h which is only exported since kernel 3.19 and
3f4994cfc1
resulting in the following build failure since bump to version 2.38 in
commit ee978e853a:

configure: error: lsfd selected, but required linux/kcmp.h header file not available

Fixes:
 - http://autobuild.buildroot.org/results/555c272fe0f966f7f46d493236cb6dabeca24d9b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-04-22 23:58:13 +02:00 committed by Thomas Petazzoni
parent 908caefa91
commit 4e6163a1d8

View File

@ -206,10 +206,15 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP
config BR2_PACKAGE_UTIL_LINUX_LSFD
bool "lsfd"
depends on BR2_USE_MMU # libsmartcols
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS
help
List file descriptors (modern replacement for lsof)
comment "lsfd needs a toolchain w/ headers >= 3.19"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
config BR2_PACKAGE_UTIL_LINUX_LSLOGINS
bool "lslogins"
depends on BR2_USE_MMU # libsmartcols