sys-kernel/xanmod-kernel: drop 6.6.22, 6.7.10, 6.8.1
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
4df49805e0
commit
6a042f1640
@ -1,17 +1,11 @@
|
||||
DIST genpatches-6.6-28.base.tar.xz 1406852 BLAKE2B 09691b429951a495b8dc0e076930d72f4f5c51c0f41cc0779d7c27bd1c161e007ab6ca9007ef43db4aeed4ead3ba84dcd93ba2b31fdd689c785fc38d0c46425a SHA512 500492b25b5a8eab5781e3c7758fa1685b1050bdf30b0c8fbb306db078de1bf06e0aeea6547fd7fa868dcb84047d9842f37f5851e3637633f693a5b653cfae96
|
||||
DIST genpatches-6.6-28.extras.tar.xz 3704 BLAKE2B a1c1a33eee156346766d88b142a1f199f483e3589930537c1329ef2e5946780278e902f2c912a639779ac76c61782b526b3dec8434ff678f30d4a6bbe4b95238 SHA512 f1ca783a6a90bdc40c92f004b01cd9ec4ae13db9b6ed71708c4489155df95c900d395ba3b682e62dcb69d71151f38759cc128b9775e3983d3760c01a1b453ae0
|
||||
DIST genpatches-6.6-29.base.tar.xz 1589756 BLAKE2B 6c60dfac5e2a0d887a745c7a4c486c9280169dc56447807096e9727eea11594adcf3876fc11a8f990a4aaf0961e5c0c5977b5369fa2d67d991336412a6847f2d SHA512 11f2d538cd72b33c694633b892dced44aa6645e13285d7201475b29533820523de86501bc5f5385f06f06cae5504d11d3f52e09d72ffde390bcde2132b3d3dec
|
||||
DIST genpatches-6.6-29.extras.tar.xz 3712 BLAKE2B b38d84de7a6affc3adf4a04d4719058a77589033e39c70e55c818c2c2762967cc832b184be58891e14288e06df3ded4992cd8c10285d1de9ba2fa01704a46e3c SHA512 5660a05968a6d87e0a9897001962d8c2a8ead8f27aa01fef5d1905864414d959264213fd1ec417a5396ab70c1af7953d6874a1d57f65109d2d0d34423f412843
|
||||
DIST genpatches-6.6-30.base.tar.xz 1698592 BLAKE2B 3e7343cfb06a081796dcc67e15c1b2bd5161b17a9c41703c17131dbb730ae1715fb8f6eda3fb0d8c6443fecb0809e1d417675ff47b04578c0e6fdf708ac64c8a SHA512 57572a52c83fa5e67d084bcffb94f9a8c210a6fb6f424aaac6cb817c0627044eb54c3e61ad38e10acfa0024ed2a09a4c019a3503ce31c00beb07cd573b264df6
|
||||
DIST genpatches-6.6-30.extras.tar.xz 3704 BLAKE2B 18c323ae1c680bc076d2b62ca5715057b2fe32db70ee582bf81c50dfe6c356acf3a5518de57d64aa046562908981c0b67cc96ee14d452093b25bbd619e206112 SHA512 01eb396bb8a6854b9c25339bc41d388743b8ebab46b2ead24e3ea87bc1de48d87e94f80df2b530569088fd431d7f700882321823dfa349a451211b689d1a71a5
|
||||
DIST genpatches-6.7-14.base.tar.xz 759200 BLAKE2B ab81cb25145e344d43c649a7330804d9fccebd85aa8afed415c8de65d7cbdfea1884447f825b10919543d667127810dc2efae7001e52c506c9bf0598a3f572c6 SHA512 eaec167accc9c27c002262f39cd01d2de897c9629fc226360887b513227104248cdce2d4a2d3d25e86968e74d5f7dd516f599c5e45a77a896b3a482d194b1622
|
||||
DIST genpatches-6.7-14.extras.tar.xz 3704 BLAKE2B 2dc79c939c1793afba3591758b5a4e51987683c086e688b79c4a6817cf35f1486f06a869e18bf49c5d102c77152b842bf4669e9c77b59e35401ffff2de422477 SHA512 e198bdf7f0d6dbd937f31d0ae4d0de3a9c1091410b5a709ab1606a21372b6d2b58cf1e298ae3b1f25fac1f677a0f618f01755a542493879d876bf296f8fa33e7
|
||||
DIST genpatches-6.7-15.base.tar.xz 971400 BLAKE2B fc87e6e218c0c26051b83545f82a491a83df9b0e324f1f659329b144a81aa21ac6e90532ab080eafc99b7f87b9d8ac6aca84b043653cd09b8c41b7e34e52a9b7 SHA512 3c62c11bd8de96e86dd7224bab00103fabf5dab58c2d5d6ab2c27302802eb3d5fcd9370ab8c209f4a62a8f2d290107edbba72bf9dd8d78760c15234989aec5d8
|
||||
DIST genpatches-6.7-15.extras.tar.xz 3708 BLAKE2B 8ed59cf05b758ec9341f6e8488338ddcb60e70cb1d25e39718cfdca425d47e7d5a7cbe4575da631363c89d263bdc65cbc8db718550f0f0978647891a6dd3677d SHA512 b01ec4dff86934dfe5686df4fde1b9d5534b156d127451f3bbb1267df8f3f7d67d11a496df3896d6b5777476cc704578b00c8fb124176216467b5bc4e184c9e2
|
||||
DIST genpatches-6.7-16.base.tar.xz 1101836 BLAKE2B f85c1bdbb8fc2a33fd231a23cc2b4f55454aed62d44b42878aa071b27898ad68dfaa0c72fc6eec944a7c08bd8b6a0854107c30badbf355fc68fb46c30c1c8bd2 SHA512 31518e149408da3e604a1ab9d7591f9fc0042fe8162f8220cb124dff30ba7cae5150769596c494cd76667a6f5ef849c78f19c61d89e7363289f91e2651c4b688
|
||||
DIST genpatches-6.7-16.extras.tar.xz 3704 BLAKE2B 659050195f491f15579b2261b6c2631de5d5e4b4d2088fca124511ccd71a9ac62da7ab1f4bf08846bb061c033ec087faa5f6a783334528c543d17d72cd8b340d SHA512 d867a7d95e388b384519b27910f521b4d6305cf2673136f543ddc0b2bcd066d4c726448c413aa358ce0ea3a2abb1639a2fe54d31c92cdb93bdaf76c2155b369f
|
||||
DIST genpatches-6.8-2.base.tar.xz 9868 BLAKE2B 99851a36f636805f0338b1344f5d375bbf6db842ef36abfe3699037eb990e0e6e3a9dc57327a793d8875d9af1728a85b5c56211383bc21015601351abea4e69d SHA512 dbcc8c3ce9be9239b8f04e8b66a2dad1a9939c1749bcf9cf42aa271caa7fab2cbb584dcc66b6c2881e3cce2579245127b45934dabca3ccd755a920609b17a3b0
|
||||
DIST genpatches-6.8-2.extras.tar.xz 3704 BLAKE2B 89627d91aeb2ea96753c77f368db6d1bbd3fbfc63195eba552af9603bc6b7a1066cdc6e11b99d2b85a99e54e3f320bcaf8bbebfb7f62706c2a171087c0a9dc4d SHA512 d218b961f56c26fa97ae2df9e170a84f5076817bc712e4d56047bd625cf3e53e6b930d75d916538852da485fbd5457c7d8099c6deea562208bdd7ea2d808c031
|
||||
DIST genpatches-6.8-3.base.tar.xz 250824 BLAKE2B 2dd35057816341b1dbdc9fc651b2cd8f2600d11026cd73168e32adf59d08c93f932adec3ab3e00b24852e565e058054503a09278fcadb9f3ac6c640bf4972e58 SHA512 c5cd4b802009128f3b3a637551f35c678800054c75bc1e09738f957428b7087b93d88ba89f65ecfc5d71b89e0c9004c2024edfec7ab36612fb214ff5ca5b225c
|
||||
DIST genpatches-6.8-3.extras.tar.xz 3712 BLAKE2B 1477adb78ce367d923717752d92ceeae28cdebf82484d30b3d4b46ecb308dd6418b67bab000f37312a129aa4453910ee88db1d1f84a9e943b1edaf90d15d20ec SHA512 bc1ea41091c8a8d093652332c6c11ce727730c7b922b457e6935ac1a20905ad9c4bd8757812feee50315ab7658e388e6bb292fdda4b6f03edc1ee184b1db76f2
|
||||
DIST genpatches-6.8-4.base.tar.xz 388904 BLAKE2B 22339e2c3d8b06e98ccac88d877edeefbc5955af73ccc1bd0857ad22f33757cdcd7b851ebf0987b2927e0d6397149d034e39dd7a1f2e252355bed36ada7ea4aa SHA512 ab11669385ad58a45941db73bb01957fc7a0d4794768aeaf4ab78e078d25d3eeae4d508994e61fd7d4a6de791991c9f01ea226932f9d42047c38e2fc4a037a4a
|
||||
@ -20,12 +14,9 @@ DIST gentoo-kernel-config-g11.tar.gz 5077 BLAKE2B dc17ded74f79baddd703a78084113b
|
||||
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
||||
DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad
|
||||
DIST linux-6.8.tar.xz 142502100 BLAKE2B c6f17f816cea16e629f63e9379b98888713f57b2c5173306926471f139a9d612a0c74e119341f8075390e55e203d787d9edeb4ad5a064b18870f6f0f7ffaafb2 SHA512 5c4eb4aa1d3f7d1ea01c0f7ddeadacdece6e144fd4bdfc16b2b925d3e10dc04de3a6db69320b79a96c3560052616f001d2c09e7a1bb4f7b731e2380a7ecce068
|
||||
DIST patch-6.6.22-xanmod1.xz 1469032 BLAKE2B 8dc88d3599f58ca5fcd17b5c10ce7b9175f8f6df0c249fe3d7807803e36383873c004ae7562ee5a54312f616eb6cf44a75e89b1b140d2409222788d61028d6b7 SHA512 5711c0906ebc4ec23be8217cce43a50df6e8be266b458940ff2827b076f90a6ec2160ab709b299c7c069f8ed940f06112f82aee11a71f2d959dc2d398146bf15
|
||||
DIST patch-6.6.23-xanmod1.xz 1640268 BLAKE2B bc7d91563c3d9bf777bf527ed1174147ada4edb56858b45714fed7b6336427c49c94b38f96abc3bc1ea0b31c54dea854bf9000a7956dc7e37247783281accc83 SHA512 50f4b5c7e6b1977ee98502b10fd9e19698c3a9b3b96591bf722585a06c0c7dfd649c0771bfca6fede28800764648d87331e524af48c58c278077b547a8f60fe9
|
||||
DIST patch-6.6.24-xanmod1.xz 1738140 BLAKE2B 7f6944940a993e330c0a6fd59c4cae20383868e4dc0e07e7b708335608d155f9a3a8b4d4f8659daf8fd8cf1dff0c96790354d03d1293a65c192ea295f77cb77e SHA512 b8f2d623e6add7e69825b65f1b501174cfa80c90101df56917b5a2365d0daca1e5986d319965cbd4ba6deac26de6f0aaaba7218b3bd9a5401e4ae4db43503ea5
|
||||
DIST patch-6.7.10-xanmod1.xz 866656 BLAKE2B e5d1a63145768c011d9f98fc360d9781646d05c19d18b2acbda1e9074d394288a9f7af09f17c058bd0e0d2561c89032be2b131e32c55bbd2843263604a1e847a SHA512 4dbd361d0f1e77df9e926187cfab9e6fb3fc0fbfd95a052416734a4091931e903029c20647d94ea9d0e0ec8bc4f01fec33f9f2b18ecd92595c89bb516f62f319
|
||||
DIST patch-6.7.11-xanmod1.xz 1069440 BLAKE2B 6602514a671ff4ac1c595db559b6dfb3b04bd46621284a6b59d9cc40468f7f7ff608aaa87e9941cd03339834ec196be4f343e45c87741782bd75c5cb57a7963f SHA512 331eee0f742c851d92fa6b1390c9d58561e55e6f1f9b59e0aa4f180959f1e86eafb77d5be1b3ca71695865a309c85053e1ffed7201ce065b13815634ff01a84d
|
||||
DIST patch-6.7.12-xanmod1.xz 1190564 BLAKE2B 26390fdd54f959e01eb76d3715801de642830ac08085585a93529eae5a75ed3c8a7a012bca2997b37f63718962bc9250f744a919fc9054a4b36441099a10b342 SHA512 99dbd12e6e92be3994a92f4799755ccafb180c181605b18c61f254c946c2b7e2a268807ae9a222f8b66913b8904ee02971f79e604a1916cdffad4b8c607e0370
|
||||
DIST patch-6.8.1-xanmod1.xz 151976 BLAKE2B 24af8c0e346af42ce746175a3f58714e86b8b06920fd71ec6aac4b327f89dd71be1171dc37e2888bd8258922bf12b6028d60324b666fb0fc9895586547398bde SHA512 5c129f7b5508bfeaa290c5d7426c2a18d9ef4a3e0e8e897d20baad0830dfa8177bf9e6874dcb0db118d49b259cfbc3d9fce58cb828b3b67b83f03e6d8407bc60
|
||||
DIST patch-6.8.2-xanmod1.xz 387324 BLAKE2B 8002e00438cdf5c104e6eab263e44f732d6b7498e6222cfd52577007aca4d5f28520acaa5bfd2f06ee43c946573ef01fb3352d1368c49f66e9c40f3b2b4d003a SHA512 b12fb7b66ec567a3f4d8cc95da5252db677208000aa5fb46e7cb6a24781092920ef6edebd78061b7890ff6cb703403328dc1a5af4549ad12a3b53065ae1a916a
|
||||
DIST patch-6.8.3-xanmod1.xz 521636 BLAKE2B 391bba87e3846abece6716bb870cb2fa536b0485dc9569deaf9a648605c302e557a0e9115b68c011e4c9c82cb7cf6a7223b99a5e1ea543d12bf28bfbee26f2fb SHA512 f0b336c5a8e5316a3121e93252c2e94428ab339eff81bf220a22a062285acf64bd45149b9096d2e112d5da9ed843dd642e7994e2e7163968b88ecba8796edb50
|
||||
|
@ -1,84 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_GENERIC_UKI=1
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit kernel-build
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 6 ))
|
||||
GENTOO_CONFIG_VER=g11
|
||||
|
||||
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
|
||||
)
|
||||
|
||||
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_GENERIC_UKI=1
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit kernel-build
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 ))
|
||||
GENTOO_CONFIG_VER=g11
|
||||
|
||||
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
|
||||
)
|
||||
|
||||
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_GENERIC_UKI=1
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit kernel-build
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 1 ))
|
||||
GENTOO_CONFIG_VER=g11
|
||||
|
||||
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
|
||||
)
|
||||
|
||||
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user