Commit fe167e082cbde1c6d186ecdda531abef610ac2ac switched to requiring
lz4 instead of lz4c which allows us to support distros dropping lz4c.
However, it's only in the 6.13 kernel that CONFIG_KERNEL_LZ4 makes the
switch from lz4c to lz4.  So we should continue to link lz4c if it's
available to support older kernels.

Signed-off-by: Justin Bronder <[email protected]>
---
 meta/conf/bitbake.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 1d2c2e0022..c7927d19a0 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -553,6 +553,9 @@ HOSTTOOLS_NONFATAL += "gsutil"
 # Link to git-lfs if present
 HOSTTOOLS_NONFATAL += "git-lfs"
 
+# Link to lz4c if present, used by linux <6.13 with CONFIG_KERNEL_LZ4
+HOSTTOOLS_NONFATAL += "lz4c"
+
 CCACHE ??= ""
 
 TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}"
-- 
2.47.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#208537): 
https://lists.openembedded.org/g/openembedded-core/message/208537
Mute This Topic: https://lists.openembedded.org/mt/110026407/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to