diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-08-27 21:02:35 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-08-28 11:03:53 -0700 |
commit | c681b6b44fee0b200177fdae6806cc20bb33d086 (patch) | |
tree | 759bae932fe544f734345e2c6468782272a7051b /eclass/kernel-build.eclass | |
parent | eclass/kernel-install.eclass: add ppc64 image path (diff) | |
download | gentoo-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>
Diffstat (limited to 'eclass/kernel-build.eclass')
-rw-r--r-- | eclass/kernel-build.eclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index 47b0db349561..048d0c9b016c 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 |