Diff gentoo-kernel-5.15.133 with a gentoo-kernel-6.1.55

/usr/portage/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.55.ebuild 2023-10-09 14:52:35.532368502 +0300
6 6
inherit kernel-build toolchain-funcs
7 7

  
8 8
MY_P=linux-${PV%.*}
9
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 6 ))
10
CONFIG_VER=5.15.19
11
CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01
9
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 ))
10
# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
11
# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
12
CONFIG_VER=6.1.7-gentoo
12 13
GENTOO_CONFIG_VER=g9
13 14

  
14 15
DESCRIPTION="Linux kernel built with Gentoo patches"
......
23 24
	https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
24 25
		-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
25 26
	amd64? (
26
		https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
27
		https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
27 28
			-> kernel-x86_64-fedora.config.${CONFIG_VER}
28 29
	)
29 30
	arm64? (
30
		https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
31
		https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config
31 32
			-> kernel-aarch64-fedora.config.${CONFIG_VER}
32 33
	)
33 34
	ppc64? (
34
		https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
35
		https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config
35 36
			-> kernel-ppc64le-fedora.config.${CONFIG_VER}
36 37
	)
37 38
	x86? (
38
		https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
39
		https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config
39 40
			-> kernel-i686-fedora.config.${CONFIG_VER}
40 41
	)
41 42
"
42 43
S=${WORKDIR}/${MY_P}
43 44

  
44 45
LICENSE="GPL-2"
45
KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~sparc x86"
46
KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86"
46 47
IUSE="debug hardened"
47 48
REQUIRED_USE="
48 49
	arm? ( savedconfig )
49 50
	hppa? ( savedconfig )
51
	riscv? ( savedconfig )
50 52
	sparc? ( savedconfig )
51 53
"
52 54

  
......
99 101
			cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
100 102
			biendian=true
101 103
			;;
104
		riscv)
105
			return
106
			;;
102 107
		sparc)
103 108
			return
104 109
			;;
Thank you!