diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /eclass/linux-mod.eclass | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r-- | eclass/linux-mod.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index 920790b8db98..de005967a36c 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -638,6 +638,8 @@ linux-mod_src_compile() { set_arch_to_kernel ABI="${KERNEL_ABI}" + [[ -n ${KERNEL_DIR} ]] && addpredict "${KERNEL_DIR}/null.dwo" + BUILD_TARGETS=${BUILD_TARGETS:-clean module} strip_modulenames; cd "${S}" @@ -702,6 +704,8 @@ linux-mod_src_install() { local modulename libdir srcdir objdir i n + [[ -n ${KERNEL_DIR} ]] && addpredict "${KERNEL_DIR}/null.dwo" + strip_modulenames; for i in ${MODULE_NAMES} do |