sys-kernel/gentoo-kernel: permit arm{,64}
authorAlexey Shvetsov <alexxy@gentoo.org>
Thu, 21 May 2020 13:29:04 +0000 (16:29 +0300)
committerMichał Górny <mgorny@gentoo.org>
Thu, 21 May 2020 14:30:20 +0000 (16:30 +0200)
Now it works for arm and arm64 with savedconfig.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-kernel/gentoo-kernel/gentoo-kernel-5.6.14.ebuild

index bc76214540cbd583095a640fdd008fe37d8a3efd..81016591119d97679f3f131fb44dea2fd7d6daef 100644 (file)
@@ -30,7 +30,10 @@ SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.x
 S=${WORKDIR}/${MY_P}
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+REQUIRED_USE="
+       arm? ( savedconfig )
+       arm64? ( savedconfig )"
 
 RDEPEND="
        !sys-kernel/vanilla-kernel:${SLOT}
@@ -51,6 +54,9 @@ src_prepare() {
                x86)
                        cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die
                        ;;
+               arm|arm64)
+                       return
+                       ;;
                *)
                        die "Unsupported arch ${ARCH}"
                        ;;