2020-04-21 17:18:59 +02:00
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI="6"
|
2020-09-24 16:56:44 +02:00
|
|
|
K_WANT_GENPATCHES="base extras"
|
|
|
|
K_GENPATCHES_VER="1"
|
2020-04-21 17:18:59 +02:00
|
|
|
K_SECURITY_UNSUPPORTED="1"
|
|
|
|
K_NOSETEXTRAVERSION="1"
|
2020-05-06 21:50:01 +02:00
|
|
|
XANMOD_VERSION="1"
|
|
|
|
ETYPE="sources"
|
2020-09-24 16:56:44 +02:00
|
|
|
|
2020-05-10 16:00:15 +02:00
|
|
|
inherit kernel-2-src-prepare-overlay
|
2020-04-21 17:18:59 +02:00
|
|
|
detect_version
|
|
|
|
|
2020-09-24 16:56:44 +02:00
|
|
|
DESCRIPTION="Full XanMod sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
|
2020-05-06 21:50:01 +02:00
|
|
|
HOMEPAGE="https://xanmod.org"
|
|
|
|
LICENSE+=" CDDL"
|
2020-09-24 16:56:44 +02:00
|
|
|
SRC_URI="${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz https://github.com/xanmod/linux/releases/download/${OKV}-xanmod${XANMOD_VERSION}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz ${GENPATCHES_URI}"
|
2020-05-06 21:50:01 +02:00
|
|
|
|
|
|
|
UNIPATCH_LIST_DEFAULT=""
|
|
|
|
UNIPATCH_LIST="${DISTDIR}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz"
|
|
|
|
|
2020-05-06 22:04:15 +02:00
|
|
|
KEYWORDS="~amd64"
|
2020-05-06 21:50:01 +02:00
|
|
|
|
|
|
|
src_prepare() {
|
2020-06-19 08:09:55 +02:00
|
|
|
|
2020-05-15 04:47:38 +02:00
|
|
|
kernel-2-src-prepare-overlay_src_prepare
|
2020-04-21 17:18:59 +02:00
|
|
|
|
2020-05-10 16:00:15 +02:00
|
|
|
rm "${S}"/.config || die
|
2020-04-21 17:18:59 +02:00
|
|
|
|
2020-05-06 21:50:01 +02:00
|
|
|
}
|