1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 K_WANT_GENPATCHES
="base extras"
7 K_SECURITY_UNSUPPORTED
="1"
8 K_NOSETEXTRAVERSION
="1"
16 RDEPEND
="!sys-kernel/xanmod-sources"
18 inherit kernel-2-src-prepare-overlay
21 DESCRIPTION
="Xanmod and UKSM sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
22 HOMEPAGE
="https://xanmod.org/"
25 ${KERNEL_BASE_URI}/linux-5.12.tar.xz
26 https://github.com/HougeLangley/customkernel/releases/download/v5.12-patch/0001-patch-5.12.0-xanmod1-cacule.xz
31 UNIPATCH_LIST_DEFAULT
=""
32 UNIPATCH_LIST
="${DISTDIR}/0001-patch-5.12.0-xanmod1-cacule.xz"
33 kernel-2-src-prepare-overlay_src_unpack
41 eapply
"${FILESDIR}/v1-uksm.patch" || die
45 eapply
"${FILESDIR}/v1-cjktty.patch" || die
48 kernel-2-src-prepare-overlay_src_prepare
54 elog
"Use xanmod-sources with microcodes"
55 elog
"Read https://wiki.gentoo.org/wiki/Intel_microcode"