summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-08-14 05:08:53 +0000
committerSam James <sam@gentoo.org>2020-08-14 05:08:53 +0000
commit0ffa9735615791911d845971f17dfb1ee41d13be (patch)
treeeb3e167a0a33176fd2581fdc3efb0f529a2d55c6 /sys-kernel/vanilla-kernel
parentsys-kernel/gentoo-kernel-bin: add 5.4.58, 5.7.15 for arm64 (diff)
downloadgentoo-0ffa9735615791911d845971f17dfb1ee41d13be.tar.gz
gentoo-0ffa9735615791911d845971f17dfb1ee41d13be.tar.bz2
gentoo-0ffa9735615791911d845971f17dfb1ee41d13be.zip
sys-kernel/vanilla-kernel: add base arm64 config
Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-kernel/vanilla-kernel')
-rw-r--r--sys-kernel/vanilla-kernel/Manifest2
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.4.58.ebuild9
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.7.15.ebuild16
3 files changed, 21 insertions, 6 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index aad7f82627c1..e12b1bf2f6d9 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -1,3 +1,5 @@
+DIST kernel-aarch64-fedora.config.5.7.8 208443 BLAKE2B ca77401ee1abd8a2f34de28c32a7153434534a10335f29150c33a0b4fa9b52b161223f59a79e50d9e260014ea2f95e5a2066957060cbf3ca8e938b05957315a4 SHA512 7528c9ae989e9d6297c4d06c3555a06f6636f92ef02adbc03a8bb7173891cfaf52222faeeb1409112119221b08041147acde5d4fe3ab73175bd55d4406283f52
+DIST kernel-aarch64.config.5.4.21 199104 BLAKE2B 578ad451a76204df2a9bbbe34b5cb27051d2ac5e2c33967f562b01338c43f35da6dc33a4c2cc67ea6c3b32b155729360d3748ec28dcaa750f18449245b2e8a09 SHA512 66e9a437beb350fdc59512c17b8f72c5b5bfacf2b35070d810d77e66f49cf7929026cc28ad44b04a016d61e65d9fb4a10af6996ba09b604bf97e9c467d08f8ff
DIST kernel-i686-fedora.config.5.7.8 191864 BLAKE2B 217857254ffd12e987a5bd573e2520508bc70764b6363fc2c6bda1e5be46b70528616b26167150cba32f9e57fe17883c455fed34615a216b2398017d307971db SHA512 b90c6f2cdb55bcb115d7b92752a6efd8fdc09f68acbf365b08c9ff89732745f26d2644e18cb097ffd92d75cff07dbd98a9723179a35dc72ce01a732bdd632592
DIST kernel-i686.config.5.4.21 183910 BLAKE2B 185126ffb85718bb73761d01683def80b6f002d7a7a6eddd8e858a30d8eadc863fb378d83a1cd2ed82b3540337fa66ae44475e31fb41ebc46d77005b6f54e5c0 SHA512 6307afc2295902e44fe65b1cccaa7a0260b295a5f21f1d67ec66197bd972bd3f5675b624f08d9da8b224cb3ec987d5c21cbd743599aeab9ac6214bc651f43476
DIST kernel-x86_64-fedora.config.5.7.8 192882 BLAKE2B 23044bd3625d1ced686950c1322e91dd99eddb3128ab830c8862f5c949b66df67bc9ce38b810f4d54a35f9b9f11feb58d01450593ec513e132d789e3a50ac48b SHA512 b7770da1f608e8f0ec227dbeaf66491815e9fc4f8f08f01d2ad5877dd1946e73b315e8834f35cb5fc035fc3ac52ede8365107515d54b0792f326ad937d901625
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.58.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.58.ebuild
index 751244a438b1..d2655d6349c6 100644
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.58.ebuild
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.58.ebuild
@@ -17,6 +17,10 @@ SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.x
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
-> kernel-x86_64.config.${CONFIG_VER}
)
+ arm64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
+ -> kernel-aarch64.config.${CONFIG_VER}
+ )
x86? (
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
-> kernel-i686.config.${CONFIG_VER}
@@ -24,7 +28,7 @@ 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 ~arm64 ~x86"
IUSE="debug"
RDEPEND="
@@ -47,6 +51,9 @@ src_prepare() {
amd64)
cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
+ ;;
x86)
cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
;;
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.15.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.15.ebuild
index 079fc98c2af1..3b8362aa04f4 100644
--- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.15.ebuild
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.15.ebuild
@@ -17,6 +17,10 @@ SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.x
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
-> kernel-x86_64-fedora.config.${CONFIG_VER}
)
+ arm64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
+ -> kernel-aarch64-fedora.config.${CONFIG_VER}
+ )
x86? (
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
-> kernel-i686-fedora.config.${CONFIG_VER}
@@ -27,8 +31,7 @@ LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="debug"
REQUIRED_USE="
- arm? ( savedconfig )
- arm64? ( savedconfig )"
+ arm? ( savedconfig )"
RDEPEND="
!sys-kernel/vanilla-kernel-bin:${SLOT}"
@@ -50,12 +53,15 @@ src_prepare() {
amd64)
cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
;;
+ arm)
+ return
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
+ ;;
x86)
cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
;;
- arm|arm64)
- return
- ;;
*)
die "Unsupported arch ${ARCH}"
;;