Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Fri, 28 Aug 2020 18:05:22
Message-Id: 1598637833.c681b6b44fee0b200177fdae6806cc20bb33d086.gyakovlev@gentoo
1 commit: c681b6b44fee0b200177fdae6806cc20bb33d086
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 28 04:02:35 2020 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 28 18:03:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c681b6b4
7
8 eclass/kernel-build.eclass: don't strip ppc64 kernels
9
10 it breaks external module builds
11
12 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
13
14 eclass/kernel-build.eclass | 3 +++
15 1 file changed, 3 insertions(+)
16
17 diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
18 index 47b0db34956..048d0c9b016 100644
19 --- a/eclass/kernel-build.eclass
20 +++ b/eclass/kernel-build.eclass
21 @@ -176,6 +176,9 @@ kernel-build_src_install() {
22 local image_path=$(kernel-install_get_image_path)
23 cp -p "build/${image_path}" "${ED}/usr/src/linux-${ver}/${image_path}" || die
24
25 + # building modules fails with 'vmlinux has no symtab?' if stripped
26 + use ppc64 && dostrip -x "/usr/src/linux-${ver}/${image_path}"
27 +
28 # strip empty directories
29 find "${D}" -type d -empty -exec rmdir {} + || die