diff options
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 |