From: Fabrice Fontaine Date: Sun, 12 Sep 2021 09:11:36 +0000 (+0200) Subject: package/util-linux: disable raw with kernel >= 5.14 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63f34c54090a70987a707346a6e77d1a6fbead99;p=buildroot.git package/util-linux: disable raw with kernel >= 5.14 raw has been dropped from kernel since version 5.14 and https://github.com/torvalds/linux/commit/603e4922f1c81fc2ed3a87b4f91a8d3aafc7e093 resulting in the following build failure: configure: error: raw selected, but required raw.h header file not available https://github.com/karelzak/util-linux/issues/1442 Fixes: - http://autobuild.buildroot.org/results/d009d663a7c3c75872b19a92d3eadd3ecee2df63 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index 1f33eb5514..f045361ab5 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -291,9 +291,13 @@ config BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT config BR2_PACKAGE_UTIL_LINUX_RAW bool "raw" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14 help Build a linux raw character device +comment "raw needs a toolchain w/ headers < 5.14" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14 + config BR2_PACKAGE_UTIL_LINUX_RENAME bool "rename" help