sys-kernel/xanmod-kernel: drop 6.1.66, 6.6.5
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
dbfc5d7d3f
commit
ad851e9262
@ -1,21 +1,15 @@
|
|||||||
DIST genpatches-6.1-74.base.tar.xz 4113880 BLAKE2B 26d9abc23f66346e376b78bb687ae7bc955447093641abe0bf736ff9e1c4e7ca70a0bd26b581f295b168ecd94c6f84603f13f5d097cd8b05b9373ea03a9d0426 SHA512 4ec9211030d1d1cf8e412b46f6cc101768418a177d0113b58f3aa0c4468536faa45a0615483baec378eae7995a91b86da1c06af167a1dbc6eca9ff853ae838f3
|
|
||||||
DIST genpatches-6.1-74.extras.tar.xz 3812 BLAKE2B 52488fe7154cf6e0153a05184699dd1597a078a7a376e2866b68b923e7f82300757d1c70e7bc44920ab7813d500fb3d4677d49428261308e4b6b59a552381a9f SHA512 dd04bf075792824bf65cf349f6bc921d0c36cc66c878b8dfdd95c27f3a82de426d6725d79c02374e7372b74b68b9c0123875476de434f85646dd9aa8382d8de9
|
|
||||||
DIST genpatches-6.1-76.base.tar.xz 4170836 BLAKE2B 5f3d0f64b1b884d8401076e752e27f2021dbe9fd729172d5ae75ed8cd9cf578585e7dfcadf24542a07d4abc8350dcd0d17d41521f94f8d9d5bc1858e00752f5f SHA512 d4fa7598e022029d80199cf3c236b92c168674111f9d5a07fd3f8ba8db76249578db47ed68c412de369165d5c12c88510556241002285287cadd9a3e4a7b12e9
|
DIST genpatches-6.1-76.base.tar.xz 4170836 BLAKE2B 5f3d0f64b1b884d8401076e752e27f2021dbe9fd729172d5ae75ed8cd9cf578585e7dfcadf24542a07d4abc8350dcd0d17d41521f94f8d9d5bc1858e00752f5f SHA512 d4fa7598e022029d80199cf3c236b92c168674111f9d5a07fd3f8ba8db76249578db47ed68c412de369165d5c12c88510556241002285287cadd9a3e4a7b12e9
|
||||||
DIST genpatches-6.1-76.extras.tar.xz 3816 BLAKE2B d61edb2c2fb7ef815aca59eee532177c0452ccfb5896398200d704129e40daee6870b11c4758095fb6824eb015de46ac388cd77ec075e1d508c8a299bd4077a7 SHA512 9f90fc444beef2fcedae8fa2f6bb01492c9ff3fbf2a5f34cc17a52e5af9615538a6a24eedfc4e09575a03c67b339c4d964ac55e950b6aef11935d5f877862ca1
|
DIST genpatches-6.1-76.extras.tar.xz 3816 BLAKE2B d61edb2c2fb7ef815aca59eee532177c0452ccfb5896398200d704129e40daee6870b11c4758095fb6824eb015de46ac388cd77ec075e1d508c8a299bd4077a7 SHA512 9f90fc444beef2fcedae8fa2f6bb01492c9ff3fbf2a5f34cc17a52e5af9615538a6a24eedfc4e09575a03c67b339c4d964ac55e950b6aef11935d5f877862ca1
|
||||||
DIST genpatches-6.1-77.base.tar.xz 4198960 BLAKE2B 9c6921ca87ec2c3338107a994d6e094c6bf4ca5a705f21b3efa2803454327782ccf2cefa78b2a1bfa59413402d5d89b757a5522b86943c8c8c5d97592138758a SHA512 34daab45df35b30a5bc155aa82b074f6516bb1af7b2976590f88d88e25f6e8ae369fd1299f7e2f645c045b29d6b805dd07291ab45c212a9aa27df566dd6aca96
|
DIST genpatches-6.1-77.base.tar.xz 4198960 BLAKE2B 9c6921ca87ec2c3338107a994d6e094c6bf4ca5a705f21b3efa2803454327782ccf2cefa78b2a1bfa59413402d5d89b757a5522b86943c8c8c5d97592138758a SHA512 34daab45df35b30a5bc155aa82b074f6516bb1af7b2976590f88d88e25f6e8ae369fd1299f7e2f645c045b29d6b805dd07291ab45c212a9aa27df566dd6aca96
|
||||||
DIST genpatches-6.1-77.extras.tar.xz 3816 BLAKE2B 2129b36991f127c4bb4783a535a2d58bbe8ba9f4f139f7b70bf41a1c54bc2ac9026cdf3e3662f47c28118844ff40b6ad1c8da1c5fa8f1f4edc768fa69cae2083 SHA512 1de0ce45d9a0a1555faa92842f884cbaed8f5e727e4e59cbafc31326c9a183acc4954b2cdba1bec2019466545870ead8b5300f419533e30386aa2a36f6606a9a
|
DIST genpatches-6.1-77.extras.tar.xz 3816 BLAKE2B 2129b36991f127c4bb4783a535a2d58bbe8ba9f4f139f7b70bf41a1c54bc2ac9026cdf3e3662f47c28118844ff40b6ad1c8da1c5fa8f1f4edc768fa69cae2083 SHA512 1de0ce45d9a0a1555faa92842f884cbaed8f5e727e4e59cbafc31326c9a183acc4954b2cdba1bec2019466545870ead8b5300f419533e30386aa2a36f6606a9a
|
||||||
DIST genpatches-6.6-10.base.tar.xz 603340 BLAKE2B cc3220f1df9406c393605942e1a6fdaaf8ab46da53bc2fe6d001c9608a55ae2e5073d94805eb233183142e81bcea9bab1ed4700e298fc32c16c033597219f9ad SHA512 1f0149759b98fa099bda28aa1c4913719f0b5c0c715a72f6c0b13d3faf317a8935ce10508cd3459c50e39a7759feb44e7cf43fd49b87bd5ccd6d42a5dfc531d1
|
DIST genpatches-6.6-10.base.tar.xz 603340 BLAKE2B cc3220f1df9406c393605942e1a6fdaaf8ab46da53bc2fe6d001c9608a55ae2e5073d94805eb233183142e81bcea9bab1ed4700e298fc32c16c033597219f9ad SHA512 1f0149759b98fa099bda28aa1c4913719f0b5c0c715a72f6c0b13d3faf317a8935ce10508cd3459c50e39a7759feb44e7cf43fd49b87bd5ccd6d42a5dfc531d1
|
||||||
DIST genpatches-6.6-10.extras.tar.xz 3704 BLAKE2B 8b5e1453dd7bbbb7ee6dd02aef5e25e95f09a12a46d9dc014d71fe8fda96b94770f3cee75fa6f1db6bc9bdb67b39d272f8f887fc2986a17769237768bf6a382f SHA512 6ca7a360dc217684b1a06f869223a52772f267d48088d5e286dd27056faf34e9c4b4d575aa771c5f9b972febd4c656e32f470c4499feecd47716b07cc13ab933
|
DIST genpatches-6.6-10.extras.tar.xz 3704 BLAKE2B 8b5e1453dd7bbbb7ee6dd02aef5e25e95f09a12a46d9dc014d71fe8fda96b94770f3cee75fa6f1db6bc9bdb67b39d272f8f887fc2986a17769237768bf6a382f SHA512 6ca7a360dc217684b1a06f869223a52772f267d48088d5e286dd27056faf34e9c4b4d575aa771c5f9b972febd4c656e32f470c4499feecd47716b07cc13ab933
|
||||||
DIST genpatches-6.6-7.base.tar.xz 472596 BLAKE2B c5f69fa43401555567c9e5c3b5bad31ef55a3f49756f86e1e5cb935cf8cffb6ee080f411b5113dc3fb9d43224de432e6f1f6fb5a18082d269e30181e72aa1fcd SHA512 6098a5d32ff83fe2ceb094055be6336a19c40246946606fd0b39e86ce8bf53b96cd5539e6cbc774dc865f4be742ac3c127f8f48ff5cd3a50484dcd5afb7b9df3
|
|
||||||
DIST genpatches-6.6-7.extras.tar.xz 3704 BLAKE2B 1bd0d01aefad3c47f2b7bdc550e607d2c4ba8e0cbbdbe3ba4ef57e539f9bd894222ca6f01908e6bb27221de1331634a6941867c7d6bece9620510110bf276107 SHA512 6da82d251ac6c33b8d2837e1a44a32ab5106f0a5816a8e76354c7d9eef510b4f485edfb1b80dad68e59b3a96494bed590ba1508f7b96697c364fd52c97b65496
|
|
||||||
DIST genpatches-6.6-9.base.tar.xz 542696 BLAKE2B c0b650debf66e74923faeb933712acf4697dee9351bb3814845e5a4505818669d9392e5fca6cca4b28d42e29ff6c80e5a8e62de0446e121f950df12a83aa0cc9 SHA512 a02ab965d0beec3f72527176ad9c6858558dacdd6151cd6f3e3ec073f9965a74a048336e9403de12dd4bea4764aaa28f364ec941d86d4582271347f0d2394c7d
|
DIST genpatches-6.6-9.base.tar.xz 542696 BLAKE2B c0b650debf66e74923faeb933712acf4697dee9351bb3814845e5a4505818669d9392e5fca6cca4b28d42e29ff6c80e5a8e62de0446e121f950df12a83aa0cc9 SHA512 a02ab965d0beec3f72527176ad9c6858558dacdd6151cd6f3e3ec073f9965a74a048336e9403de12dd4bea4764aaa28f364ec941d86d4582271347f0d2394c7d
|
||||||
DIST genpatches-6.6-9.extras.tar.xz 3704 BLAKE2B 3917a85e31159724a2011824cf64c7d2cc169bdecfe2d0c051e0cc2fc4200cfd0bdd7f2cc17f8feb616375d54c43a0bf59431dd72f9ed6ff63bbf25974bdd654 SHA512 1d1e47db577ae990dd11709896384f1c9c49166c89e08e5838751794b9d3537cf447507b78f4cf08d9a4c6a9f94dbf384458fb3b0ae2232b1068b6082977b117
|
DIST genpatches-6.6-9.extras.tar.xz 3704 BLAKE2B 3917a85e31159724a2011824cf64c7d2cc169bdecfe2d0c051e0cc2fc4200cfd0bdd7f2cc17f8feb616375d54c43a0bf59431dd72f9ed6ff63bbf25974bdd654 SHA512 1d1e47db577ae990dd11709896384f1c9c49166c89e08e5838751794b9d3537cf447507b78f4cf08d9a4c6a9f94dbf384458fb3b0ae2232b1068b6082977b117
|
||||||
DIST gentoo-kernel-config-g9.tar.gz 4981 BLAKE2B 1881cb550ea9e274cb5bcc3bff5b1aa6f28bc218a09825c5ab3ba2bff4ee1826398c9fbecc513b6dd20d195fd5cf26e1e7c631bf66100ab1887705a8e04fc79d SHA512 9dc2f30a33aa19fed3006e93330210c9db613febd842467e40d51c47eccac1dbdcb5a7037e9174e92c29e2a85a52ef2c31bbe2a8cccc7a22320b3dccb8aab17a
|
DIST gentoo-kernel-config-g9.tar.gz 4981 BLAKE2B 1881cb550ea9e274cb5bcc3bff5b1aa6f28bc218a09825c5ab3ba2bff4ee1826398c9fbecc513b6dd20d195fd5cf26e1e7c631bf66100ab1887705a8e04fc79d SHA512 9dc2f30a33aa19fed3006e93330210c9db613febd842467e40d51c47eccac1dbdcb5a7037e9174e92c29e2a85a52ef2c31bbe2a8cccc7a22320b3dccb8aab17a
|
||||||
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
|
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
|
||||||
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
||||||
DIST patch-6.1.66-xanmod1.xz 3206604 BLAKE2B b9b0884b02b4efee1b09483b965859123ce27069dbd3ab3930ac8286827af9791d3cecb9fd99da220f3ffee12c70eb16ed75cec1fb92670aecc2d663dbbc3394 SHA512 40263a1c3fcb378df23cc1f7249387de4290deb2865be687f1dd2677f0330a1e57228f8e86c6802413a78cf824d5166f40faab35d6187874a584218a090238a2
|
|
||||||
DIST patch-6.1.68-xanmod1.xz 3254652 BLAKE2B 5688c4a130aa5b48f4bd13b7173e72c313987dd14b4dbe0ca9315e74c4f9243fbc63379bb022dd7c1ee28d1d26ab8e96976a82a38497e84116996e72f564396e SHA512 09c938ca0f0e72654dcfe12b0b6a17392068cbd068a7ef169103d20e852036ca972b28fde60d67eeeeb0940823003b034d4d7cbb8f94fd86d926dfbc3d93ae57
|
DIST patch-6.1.68-xanmod1.xz 3254652 BLAKE2B 5688c4a130aa5b48f4bd13b7173e72c313987dd14b4dbe0ca9315e74c4f9243fbc63379bb022dd7c1ee28d1d26ab8e96976a82a38497e84116996e72f564396e SHA512 09c938ca0f0e72654dcfe12b0b6a17392068cbd068a7ef169103d20e852036ca972b28fde60d67eeeeb0940823003b034d4d7cbb8f94fd86d926dfbc3d93ae57
|
||||||
DIST patch-6.1.69-xanmod1.xz 3277904 BLAKE2B 435dcbbb372e3aecca52de0061e1cb2ab76309a9b8b757311bb23cfb92e07a699ad5279286059f2a128f61ce7169ff96b3307fccaea85c559d0fa6301c9cbee7 SHA512 8bbc8cd8b9a0fde14f15dc39e16e2259e9823896c816e6481ddd360185757ca1b0fc8226927d9756a10c670c5e496267d4e9c3cd835d74bd191f9d53a8f1df9b
|
DIST patch-6.1.69-xanmod1.xz 3277904 BLAKE2B 435dcbbb372e3aecca52de0061e1cb2ab76309a9b8b757311bb23cfb92e07a699ad5279286059f2a128f61ce7169ff96b3307fccaea85c559d0fa6301c9cbee7 SHA512 8bbc8cd8b9a0fde14f15dc39e16e2259e9823896c816e6481ddd360185757ca1b0fc8226927d9756a10c670c5e496267d4e9c3cd835d74bd191f9d53a8f1df9b
|
||||||
DIST patch-6.6.5-xanmod1.xz 592872 BLAKE2B 8f09cd992e473c68909101eb6e658e21fe160be80af867530bfc37879ea86c018fcfedd26f5a37aac865d5b42f216e8e61621339f7e18df6f1ffb49f11aeeb79 SHA512 4b559401d5bf37e8b9c587e9bb682f162a9eb2cf69a21390302ad4054d6b2866355c11ea501e5ce9420b95bba53608ba85122275105ab9688b44cfa66d4f00a1
|
|
||||||
DIST patch-6.6.7-xanmod1.xz 659140 BLAKE2B 7a092025a3653abace591b06c3363d4c16869a87b27524b99db7ab2747847b6f2258f8f0d6dc49ec892f814fec4411ff6bfc4130ae1333523308234ec624fb9c SHA512 617df8c66fad440b4613141ed87fa8349259ddc3c1763fbe373b0abb07790baccd48a4dbc7498221d2bc938386ea373b84425901861f51b359f413b124388dfb
|
DIST patch-6.6.7-xanmod1.xz 659140 BLAKE2B 7a092025a3653abace591b06c3363d4c16869a87b27524b99db7ab2747847b6f2258f8f0d6dc49ec892f814fec4411ff6bfc4130ae1333523308234ec624fb9c SHA512 617df8c66fad440b4613141ed87fa8349259ddc3c1763fbe373b0abb07790baccd48a4dbc7498221d2bc938386ea373b84425901861f51b359f413b124388dfb
|
||||||
DIST patch-6.6.8-xanmod1.xz 717260 BLAKE2B 979ac825675f325c89bb2f9a03d92a89e97b801a2ddcc3ab6fd939f2841cbdd0a020c4327ed94ccfab9b9295c9c92293f7d7d467d22fdafa8e0f88cf1422e013 SHA512 3c09110d45ed314c234fd8028584736c55301fa320af6e33efb0f4025b45ee29a1a1727a7cf1fa941ea3f7de9909b29f6961ffd6c3eeaaaae334206dd13b6385
|
DIST patch-6.6.8-xanmod1.xz 717260 BLAKE2B 979ac825675f325c89bb2f9a03d92a89e97b801a2ddcc3ab6fd939f2841cbdd0a020c4327ed94ccfab9b9295c9c92293f7d7d467d22fdafa8e0f88cf1422e013 SHA512 3c09110d45ed314c234fd8028584736c55301fa320af6e33efb0f4025b45ee29a1a1727a7cf1fa941ea3f7de9909b29f6961ffd6c3eeaaaae334206dd13b6385
|
||||||
|
@ -1,79 +0,0 @@
|
|||||||
# Copyright 2022-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit kernel-build
|
|
||||||
|
|
||||||
MY_P=linux-${PV%.*}
|
|
||||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 8 ))
|
|
||||||
GENTOO_CONFIG_VER=g9
|
|
||||||
|
|
||||||
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
|
|
||||||
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
|
|
||||||
SRC_URI="
|
|
||||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
|
||||||
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.xz
|
|
||||||
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
|
|
||||||
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
|
|
||||||
https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
|
|
||||||
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
|
||||||
"
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
KEYWORDS="-* ~amd64"
|
|
||||||
IUSE="debug"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
!sys-kernel/xanmod-kernel-bin:${SLOT}
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
debug? ( dev-util/pahole )
|
|
||||||
"
|
|
||||||
PDEPEND="
|
|
||||||
>=virtual/dist-kernel-${PV}
|
|
||||||
"
|
|
||||||
|
|
||||||
QA_FLAGS_IGNORED="
|
|
||||||
usr/src/linux-.*/scripts/gcc-plugins/.*.so
|
|
||||||
usr/src/linux-.*/vmlinux
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Remove linux-stable patches (see 0000_README)
|
|
||||||
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
|
|
||||||
|
|
||||||
local PATCHES=(
|
|
||||||
# meh, genpatches have no directory
|
|
||||||
"${WORKDIR}"/patch-${PV}-xanmod1
|
|
||||||
"${WORKDIR}"/*.patch
|
|
||||||
)
|
|
||||||
default
|
|
||||||
|
|
||||||
# prepare the default config
|
|
||||||
case ${ARCH} in
|
|
||||||
amd64)
|
|
||||||
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
die "Unsupported arch ${ARCH}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
rm "${S}/localversion" || die
|
|
||||||
local myversion="-xanmod1-dist"
|
|
||||||
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
|
|
||||||
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
|
|
||||||
|
|
||||||
local merge_configs=(
|
|
||||||
"${T}"/version.config
|
|
||||||
"${dist_conf_path}"/base.config
|
|
||||||
)
|
|
||||||
use debug || merge_configs+=(
|
|
||||||
"${dist_conf_path}"/no-debug.config
|
|
||||||
"${FILESDIR}"/no-debug-extra.config
|
|
||||||
)
|
|
||||||
|
|
||||||
kernel-build_merge_configs "${merge_configs[@]}"
|
|
||||||
}
|
|
@ -1,79 +0,0 @@
|
|||||||
# Copyright 2022-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit kernel-build
|
|
||||||
|
|
||||||
MY_P=linux-${PV%.*}
|
|
||||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 ))
|
|
||||||
GENTOO_CONFIG_VER=g9
|
|
||||||
|
|
||||||
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
|
|
||||||
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
|
|
||||||
SRC_URI="
|
|
||||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
|
||||||
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.xz
|
|
||||||
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
|
|
||||||
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
|
|
||||||
https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
|
|
||||||
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
|
||||||
"
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
KEYWORDS="-* ~amd64"
|
|
||||||
IUSE="debug"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
!sys-kernel/xanmod-kernel-bin:${SLOT}
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
debug? ( dev-util/pahole )
|
|
||||||
"
|
|
||||||
PDEPEND="
|
|
||||||
>=virtual/dist-kernel-${PV}
|
|
||||||
"
|
|
||||||
|
|
||||||
QA_FLAGS_IGNORED="
|
|
||||||
usr/src/linux-.*/scripts/gcc-plugins/.*.so
|
|
||||||
usr/src/linux-.*/vmlinux
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Remove linux-stable patches (see 0000_README)
|
|
||||||
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
|
|
||||||
|
|
||||||
local PATCHES=(
|
|
||||||
# meh, genpatches have no directory
|
|
||||||
"${WORKDIR}"/patch-${PV}-xanmod1
|
|
||||||
"${WORKDIR}"/*.patch
|
|
||||||
)
|
|
||||||
default
|
|
||||||
|
|
||||||
# prepare the default config
|
|
||||||
case ${ARCH} in
|
|
||||||
amd64)
|
|
||||||
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
die "Unsupported arch ${ARCH}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
rm "${S}/localversion" || die
|
|
||||||
local myversion="-xanmod1-dist"
|
|
||||||
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
|
|
||||||
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
|
|
||||||
|
|
||||||
local merge_configs=(
|
|
||||||
"${T}"/version.config
|
|
||||||
"${dist_conf_path}"/base.config
|
|
||||||
)
|
|
||||||
use debug || merge_configs+=(
|
|
||||||
"${dist_conf_path}"/no-debug.config
|
|
||||||
"${FILESDIR}"/no-debug-extra.config
|
|
||||||
)
|
|
||||||
|
|
||||||
kernel-build_merge_configs "${merge_configs[@]}"
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user