sys-kernel/vanilla-kernel: permit arm & arm64
authorMichał Górny <mgorny@gentoo.org>
Thu, 21 May 2020 14:29:12 +0000 (16:29 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 21 May 2020 14:30:21 +0000 (16:30 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-kernel/vanilla-kernel/vanilla-kernel-5.6.14.ebuild

index 19f6b6d6749ae9b2ccbb81191e21eeec61dc52a7..ae908034bdca76469468fc6dfe1845c87db81b27 100644 (file)
@@ -27,7 +27,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-bin:${SLOT}"
@@ -43,6 +46,9 @@ src_prepare() {
                x86)
                        cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die
                        ;;
+               arm|arm64)
+                       return
+                       ;;
                *)
                        die "Unsupported arch ${ARCH}"
                        ;;