diff options
author | Pavel Vinogradov | 2019-08-11 03:20:13 -0400 |
---|---|---|
committer | Pavel Vinogradov | 2019-08-11 03:21:21 -0400 |
commit | 62dc02df015e114b47c0a9f70a6489bf1f770c8d (patch) | |
tree | 28e099437305fe9894c5e0776658b847701d9095 /kernels | |
parent | 97d710cb504391be15c3dc59d38153912442c7f9 (diff) |
kernels/linux: 5.2.x needs elfutils if CONFIG_UNWINDER_ORC=y
Diffstat (limited to 'kernels')
-rwxr-xr-x | kernels/linux/DEPENDS | 6 | ||||
-rw-r--r-- | kernels/linux/HISTORY | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/kernels/linux/DEPENDS b/kernels/linux/DEPENDS index 8abc562eec..ad7a069e61 100755 --- a/kernels/linux/DEPENDS +++ b/kernels/linux/DEPENDS @@ -10,7 +10,11 @@ if ! is_version_less "${VERSION}" "4.16.0"; then fi && depends perl && if [[ "$(get_kernel_config CONFIG_UNWINDER_ORC)" == "y" ]]; then - depends LIBELF + if is_version_less "${VERSION}" "5.2.0"; then + depends LIBELF + else + depends elfutils + fi fi && optional_depends linux-initramfs '' '' 'for making initramfs images' && optional_depends mtools '' '' 'for make bzdisk' && diff --git a/kernels/linux/HISTORY b/kernels/linux/HISTORY index 6aebaee6e3..85e9989b5a 100644 --- a/kernels/linux/HISTORY +++ b/kernels/linux/HISTORY @@ -1,3 +1,7 @@ +2019-08-11 Pavel Vinogradov <public@sourcemage.org> + * DEPENDS: starting from 5.2.0 elfutils is required for + CONFIG_UNWINDER_ORC=y + 2019-08-10 Pavel Vinogradov <public@sourcemage.org> * latest.defaults: LATEST_maintenance_patches_5=patch-5.2.8 * info/patches/maintenance_patches_5/patch-5.2.8: added |