summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/kernel-build.eclass')
-rw-r--r--eclass/kernel-build.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index 47b0db34956..048d0c9b016 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -176,6 +176,9 @@ kernel-build_src_install() {
local image_path=$(kernel-install_get_image_path)
cp -p "build/${image_path}" "${ED}/usr/src/linux-${ver}/${image_path}" || die
+ # building modules fails with 'vmlinux has no symtab?' if stripped
+ use ppc64 && dostrip -x "/usr/src/linux-${ver}/${image_path}"
+
# strip empty directories
find "${D}" -type d -empty -exec rmdir {} + || die