summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-08-27 21:02:35 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-08-28 11:03:53 -0700
commitc681b6b44fee0b200177fdae6806cc20bb33d086 (patch)
tree759bae932fe544f734345e2c6468782272a7051b
parenteclass/kernel-install.eclass: add ppc64 image path (diff)
downloadgentoo-c681b6b44fee0b200177fdae6806cc20bb33d086.tar.gz
gentoo-c681b6b44fee0b200177fdae6806cc20bb33d086.tar.bz2
gentoo-c681b6b44fee0b200177fdae6806cc20bb33d086.zip
eclass/kernel-build.eclass: don't strip ppc64 kernels
it breaks external module builds Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-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