1 |
commit: af4a344904fe77e57c3e408cd43f56acd3fa03e1 |
2 |
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 21 13:29:04 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 21 14:30:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af4a3449 |
7 |
|
8 |
sys-kernel/gentoo-kernel: permit arm{,64} |
9 |
|
10 |
Now it works for arm and arm64 with savedconfig. |
11 |
|
12 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
13 |
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org> |
14 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
15 |
|
16 |
sys-kernel/gentoo-kernel/gentoo-kernel-5.6.14.ebuild | 8 +++++++- |
17 |
1 file changed, 7 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.6.14.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.6.14.ebuild |
20 |
index bc76214540c..81016591119 100644 |
21 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.6.14.ebuild |
22 |
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.6.14.ebuild |
23 |
@@ -30,7 +30,10 @@ SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.x |
24 |
S=${WORKDIR}/${MY_P} |
25 |
|
26 |
LICENSE="GPL-2" |
27 |
-KEYWORDS="~amd64 ~x86" |
28 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
29 |
+REQUIRED_USE=" |
30 |
+ arm? ( savedconfig ) |
31 |
+ arm64? ( savedconfig )" |
32 |
|
33 |
RDEPEND=" |
34 |
!sys-kernel/vanilla-kernel:${SLOT} |
35 |
@@ -51,6 +54,9 @@ src_prepare() { |
36 |
x86) |
37 |
cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die |
38 |
;; |
39 |
+ arm|arm64) |
40 |
+ return |
41 |
+ ;; |
42 |
*) |
43 |
die "Unsupported arch ${ARCH}" |
44 |
;; |