diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-05-12 03:38:20 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-05-12 13:50:02 +0200 |
commit | 6071a3c87e0e3cc717e940591ff2dd90e8352187 (patch) | |
tree | 11cc76aa0f1fdde44b8e7e35dbce450cfa8b9328 /sys-kernel | |
parent | virtual/dist-kernel: Bump to 6.3.2 (diff) | |
download | gentoo-6071a3c87e0e3cc717e940591ff2dd90e8352187.tar.gz gentoo-6071a3c87e0e3cc717e940591ff2dd90e8352187.tar.bz2 gentoo-6071a3c87e0e3cc717e940591ff2dd90e8352187.zip |
sys-kernel/vanilla-kernel: Bump to 6.2.15
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-6.2.15.ebuild | 137 |
2 files changed, 143 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index d882e37a2b07..299b190ab971 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -5,6 +5,7 @@ DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611 DIST kernel-aarch64-fedora.config.5.15.19 242615 BLAKE2B 94e59440681535e38137b71814e1ae53f57a347f62cf31e0c1c8571ae43d9ae9be9957743c8cbc9ec74850c964eaabefe6799a28bc311ea7b99ee31391b47fb1 SHA512 fb77d3b73a215f97d70cd6d8c96ed20e497786b99ed7d7a7f2ed60cc1251289c1a4c7e058c41b5efac62e4a9b4b3d917dbdb11585955bba2b6584981430f4ddb DIST kernel-aarch64-fedora.config.5.19.13-gentoo 246842 BLAKE2B 4a824d02999749a0404437cae28721576511e06a5eaa9ebb1b1479c74e2b54402c440be7ea9159bf304661d4baaa5381c36b266ac0bba0b9bf3820eb04c6e4e0 SHA512 8862cf24b177ef3871f118712ceace2b496b04a488b045bbe3d83ab22942f064995486f5534630321faaa96ce60e5f237c4ded24a5468bea6e365aa3ea9f09c4 DIST kernel-aarch64-fedora.config.6.1.7-gentoo 252811 BLAKE2B f6bad0d23132bf0dfbaa25db928a95f39763b6500fd1df9b4aeca4351e3e75f185891c0df96b111ad840e4bac431d74a9b11e7344e766ab49715663c89e4dbfc SHA512 41ebf195d8b656801d49c6bb693ebe1404b6725d70d88d93a75bc4af230030d65ef0701ea931846b022a3c598dcca068fbc38ecf6d064262b3f5b88e57060437 +DIST kernel-aarch64-fedora.config.6.2.14-gentoo 255396 BLAKE2B c29d7ab623a48dfc15bb369c86bb3d2921be5af8e4025ffe19c1740e314139d76bac4e756a9a63f512a310f0ea6feceb483a2b925774b535370bb522736175f5 SHA512 76abb8f041856d104773c923514aab6d3429d8b92b386a1f0808ee5d79ad97f33a971566b27632bab57cdbc68ee1aad5316ff2267da6db6145b6b4c80a17dbd5 DIST kernel-aarch64-fedora.config.6.2.6-gentoo 255386 BLAKE2B ecae61e292a9491cadb63a7709c790d25cd74baf4ba8a2b6259105e40e3b6d19a786e032a7f2630c9d6167e1d41a1e42de723a93982aa0087742b40ef29e09aa SHA512 676752fce91f936b12eb079c0d9ebec52ac0b7c1ea2862311faccba83057d64ab8184e30c7d1839c951ba562aea2d5c9eb3f5d98eab87b780f8d15b3c4921e6f DIST kernel-aarch64-fedora.config.6.3.1-gentoo 258017 BLAKE2B 01b1d79b95d084941ab5337e7930ae4cbbf07749e2db303794575c1e2436b60003722ec87d09b045c8731cdb850a6ac059081d08dbc8dfe2271ad23169052055 SHA512 6bf350dc7d7ef329a3c073c9156eb03f8ef42f14d85942340f50a04eb86d354fbdb4e959fb81af1a7ee9626e041e89a3c89aec0200c60601d92335846c22e752 DIST kernel-aarch64.config.5.4.21 199104 BLAKE2B 578ad451a76204df2a9bbbe34b5cb27051d2ac5e2c33967f562b01338c43f35da6dc33a4c2cc67ea6c3b32b155729360d3748ec28dcaa750f18449245b2e8a09 SHA512 66e9a437beb350fdc59512c17b8f72c5b5bfacf2b35070d810d77e66f49cf7929026cc28ad44b04a016d61e65d9fb4a10af6996ba09b604bf97e9c467d08f8ff @@ -12,6 +13,7 @@ DIST kernel-i686-fedora.config.5.10.12 205412 BLAKE2B 92c715b7e2cd7dd74da7970c05 DIST kernel-i686-fedora.config.5.15.19 222233 BLAKE2B 9e0f4dd37058f59610e46a87d3165039e76299d3c186fbfc3312101bac1b8b198de404075f5bbc6f5e2ba04cfd45f9d02bdf94b01c3ed11b9275f37f11ee7617 SHA512 49ffc39de86763e707a5c0c07c1367d34e9249615f29fdf97904d7b61a375a86fc4ba37a2f02b5f61e4c76ad65d9ba12716d2523af6faa003f6336d7ae61a953 DIST kernel-i686-fedora.config.5.19.13-gentoo 223571 BLAKE2B d56f8e019b0c58023b08ee358a9af46679ca0f734c075ba6cd65dd6e3277640c0b7683e5707c48f687644d815a3840eb58351c0dee84fe9ec1dcea525fb2e1e8 SHA512 0d9fa0592b6a9414f2967677c048a9e014a0e0d43274eea4fe10f8099befae7389bbcd033f4fb36c7c44bd30c2fb197e860151e27c10dc354fe9a86a8bb65e94 DIST kernel-i686-fedora.config.6.1.7-gentoo 228053 BLAKE2B 1b06ca68465d7833905b6236a6ccf9a594f44613cbd102990c1667c1ece53ad982fa3abbfe475333e3297331ce1cfadf27c00c3e7de6293e213278e8ca97cd3b SHA512 1ed70eb5254a04d99d28ad901d4556dfa7e8ec8b739a0a33040315718effe9348e75ca8ac19d3b33fa7b3dcad9b4bb0531075692087c0dbe57ec6a4d873a4b27 +DIST kernel-i686-fedora.config.6.2.14-gentoo 229803 BLAKE2B 5b3886edc7499755de5c84cb01636cf81edaf9ea69cb30cebd5ec1b9a2f42748a51260b91f7bcfcfefa16920f4d6c2f1c48ffe6669c2f517454cf28cdc2fe2c5 SHA512 9ecc18c5ccedf0e8026ada862cf6a0716d02ea0fd126ae317cc6d61326b098b6e97370e81af4feb15fb857cf48f5bd7fb9132102cf07b028b0a62603a4d99f77 DIST kernel-i686-fedora.config.6.2.6-gentoo 229782 BLAKE2B 454a08b67638042004303e08b8106f46270dd73092fbc6da0251d84251e23dbbc6d608b95c48cde8d0d18ee7ecd202374e8295ebf884e616b307254728ad57e5 SHA512 950def3dbda61e6b35f32454e6230144e32cece797b78d9fd0a0afdb4a1c1a55e6f7c30ce3ad9bb5316ff6c95263711a2be6d6c69c5303d62a3cfdfeaf7da391 DIST kernel-i686-fedora.config.6.3.1-gentoo 231336 BLAKE2B 67a63eb822a6a3a4b79a5d265bcc26711f757065428bc7513584ebfd8e8a7ed519aa19b00d2d161e4e15e4ad1ee08dfb1e30953a736db914ef31661bbabcb083 SHA512 b86718ea9163d1ad857419ae440d135b1c8d8e3ca4e37c5be245f68fd80d75806b03c327180456f47fdd323249c95a706b18f57551ccf787e3221859dcc51328 DIST kernel-i686.config.5.4.21 183910 BLAKE2B 185126ffb85718bb73761d01683def80b6f002d7a7a6eddd8e858a30d8eadc863fb378d83a1cd2ed82b3540337fa66ae44475e31fb41ebc46d77005b6f54e5c0 SHA512 6307afc2295902e44fe65b1cccaa7a0260b295a5f21f1d67ec66197bd972bd3f5675b624f08d9da8b224cb3ec987d5c21cbd743599aeab9ac6214bc651f43476 @@ -19,6 +21,7 @@ DIST kernel-ppc64le-fedora.config.5.10.12 192105 BLAKE2B 889141debb0656a358a3381 DIST kernel-ppc64le-fedora.config.5.15.19 213339 BLAKE2B db6bbc9f402b8b48a2441e39d1a78dc112656ae842bc5594065cfd2ec3f6d462e4bde200e8736a70192af35fb3a5d1fc42683783a5b7620881f3a95bb0bc5f4d SHA512 b43439c24be8fa8bdd17d4c0beece799544ae45b2c289f0202fa5eb7a52dce0165a0cbc924b0decf877582af9688efd675cbfbd2313ff85fcc2c8563bba4b1ad DIST kernel-ppc64le-fedora.config.5.19.13-gentoo 213984 BLAKE2B 9abc1d2e03bb34908019dbbc4e54d3d176acddca6e7af72fe73461e60eb249486c4e8a81bfe2515849aa26939d9abef5e981deeaa55605b34bb59552cd3444fe SHA512 d857ce4178950a96ff029c3c9870211424e1c5e95dfef88d25d6d1d517493a6fd95d9d398f42b8a6cf72482b07789be38f674dd4a2b9855da57c8391b0c2708d DIST kernel-ppc64le-fedora.config.6.1.7-gentoo 218278 BLAKE2B f4dda4430e9801c4660be4bbf6e4b37052e720656e77c928adb7176ff3dba55feb2fe66dd564d41a181809488941cf392ec9c94d786e4a3d813fbe5d683d305f SHA512 a5e12ab1045fae61b494938047cf1c2a3c34693d3d242968e4ab564a012c70e6d232b9d5333347f5ba114a64bb59dd96919b38c5a1327fb8c5154ef40ad28d2c +DIST kernel-ppc64le-fedora.config.6.2.14-gentoo 220452 BLAKE2B e6384e69b27281d73ef39726c5f162f5a6f4a393f5f8c02d10bac2d0d58dfda60c3555b3ed4fa8faed0f02aeb0619de23fa61617220291dc4df9ff77eacdafc7 SHA512 92038a4f99c3913f6cfc649a94563afb7e5f3c0d4d6766b6f55f3ca6042cc897b8d4b0e6ad867915ae409634c426c24440e5ea5965df42aed82b6ffb942b9729 DIST kernel-ppc64le-fedora.config.6.2.6-gentoo 220355 BLAKE2B 09646d6132365c5ade80db87953ce545213b8a88fcf4bd2efe2da42de77844f490bda18a0107087b28dcd57fece4332bea77cdbfbef9256c559f89327c784f09 SHA512 f6fbb4fb8cee616eebf3c18801cfab0cca0222e1ec91e10dc58e3ce44223de021811731be2d399ffa0e41f656670ddb1279517c0a3ec7cd5164c31226d8e0b7d DIST kernel-ppc64le-fedora.config.6.3.1-gentoo 221722 BLAKE2B 8ad6e1efe6f7d906dff1b8a8f27fbab140ec740586fcebd57061e4931b5db4ca88a035cec1184c57007cc2df4bf12584764e5d2f7e81b54523dc50d79850c358 SHA512 24108ed525d4120124fc3e1e3c1fa694b258be87b3a1daa89df4b4f0e587613eb91b460136fb1dc6287ea6befbc6acdea2a7f9eb930facda61e6e342174c05dd DIST kernel-ppc64le.config.5.4.21 172003 BLAKE2B b53887cb44f7c378cb3866780f8e556e19fdb02130d3b0df01d97698d2a91f7d90a200012559f288e962935742c3fdb67dfb6711876fad37862fe55cdca5b5f6 SHA512 82df8d0be47e9eb20bd7db570539bb061d0b6e2101dc78a54596cf4d0b4e0c536041449304ff9240b051ee09b342ea336c5645e9a3b66a5dfb96d7778ff86008 @@ -26,6 +29,7 @@ DIST kernel-x86_64-fedora.config.5.10.12 206357 BLAKE2B 0eda9d4f3f973336cabd67c1 DIST kernel-x86_64-fedora.config.5.15.19 223286 BLAKE2B 239995703c01dcb6d179133dd115bc0a57872c07d7a08afaf4d92cf6d78f0c17b19487b5b399ac7fdde5d460fa7931628147817a569fef2c3a62951c96054bdf SHA512 9bee4aff7e5ef4ada57bee7496aaf47b8fdd5c936c4c9b580660d130db0678eaecdebdbcab0dfcaf5c17a71f6419069840db10f5886806b6fc810f8a3619554f DIST kernel-x86_64-fedora.config.5.19.13-gentoo 224246 BLAKE2B 6dd95fc7a8bd38387a3bfd6c00733220b34091961c8437cdac61e4376de8b35529808f3b8e2db91c1a0c90e1115395df153f94107e6f9884a61bf646cb40d25e SHA512 1393e6315581a4934a35f3e66146d014ad154025fbc71245bd4b6e7639952387449b69df41605df8590a4d363a5aab5111b442b1a9f56b4d2996ca416f7e5c23 DIST kernel-x86_64-fedora.config.6.1.7-gentoo 228685 BLAKE2B e68236ccc1d51b2aff850eda9f3197b7ea95b8a88716bc7b07dad30348a86fdbb99a948060300dddae73ca82267d851d357f1c9547a9dcefae1364deebdbd124 SHA512 42bec2ddb9cf7eb6e84bbdeb23eb98dc11c9cea41f6134b776010c6b36833b520a290f0ef0145379de15c7f7834398fa5e3aaabd7258d7d4e89567faa09eeb4c +DIST kernel-x86_64-fedora.config.6.2.14-gentoo 230476 BLAKE2B a7ec9a1f641d7fd4d4edb04d3c117492ffa8a76c9a05f44ea7c79b3cf794c1beaf5663167f863167068687d131d669214aa615b95846ab90e5536eb1c591032c SHA512 bcf52a4e33ddfdfc4f726e9be00d224e0c2fbeec1669e3a5ef2a0ff108c7c89bf2dc416ff3ea00b4ddd48613cc555dc7b5cbad2d5fae26ff93672b93eb172e48 DIST kernel-x86_64-fedora.config.6.2.6-gentoo 230455 BLAKE2B 5fe5cce9264480d2cb733bedcf060327e01fd6f1665d00ded7dc414d6439f94d5af8e01b46c36a8cd864f62033cc34cd4b3fb4f35d8316d07ab3d38d8ceb93f2 SHA512 c1962a824cf2a9d5f1c98c153beb5b29641c21e3462e59e42380eb9cbbfc3fb65129bfb1bced0f7f699e15bbaf1141f2ad4245b8f76f4fd662d779e7e0d452a2 DIST kernel-x86_64-fedora.config.6.3.1-gentoo 232020 BLAKE2B 58ae6268d9571b7384bb2902d31402caeb35bc5185b2a9002a1aca1a50fc3caa4b6b113e748cc3c5a05cef7ec577a8f3ffe9dee5262a65ae2de06565e36be5a3 SHA512 7ed84e888e3c781a557bcd8fb62ca81d814604be2eb53f2bda7b29f28bce01e6821e7c31c4afa219b4a2c49588c81f3dda6cfb5b232eee86ac1e3549e67cbccb DIST kernel-x86_64.config.5.4.21 184907 BLAKE2B 0eb2b07c14cea7545350fcdf3a94f2a531f0137c502ebda9299cacf44da5385686e2049b480b28bc153c9d413d453cfe682b9655eefe70428cb720f57c7bd200 SHA512 f3b3ee6841555ac3a9cc11536a7d44e1a5a8df2bab14ba341fda7df1ceb0de45cf1c799a1d54a64f2858fd1272d348bb52cf269ffa396878c5402baf2730237f @@ -53,6 +57,8 @@ DIST linux-6.2.13.tar.sign 989 BLAKE2B 9109ab0ebdd93de0906382f65c4ff7da00ebfb94c DIST linux-6.2.13.tar.xz 136481716 BLAKE2B 94d9032a12ff0f1df819d39ee411f6ba52f4dfafaa0c217f32f15b111f0e342561624de90492caceacf07e550f76fdccea3278e46c7c1b0468cf398569d81001 SHA512 fa44de0d4023595e36eed1e5af69a445a44fbe98c51a6f67ed53085d9ccb6d4bced66f0496bce203cf4b2f780ec8172eaf856e323c747229d75de5e9dc950be3 DIST linux-6.2.14.tar.sign 989 BLAKE2B aee0a80be752237fa2061ae5199265b74d57c8ad7f62687e16e8b1ac67240bae32492b4e6ad3cab9d7021d7428bad2c4fb17b307a3cf505a8d22a3a998eb26c5 SHA512 a0cc0604925381f7489b52a8620c92304c8ac31edb0694d5c138980c672329e45ffdf69f48cbde9faa37eb2d8a51df80ddc761638b10d89a2d76b8f78b9c51e3 DIST linux-6.2.14.tar.xz 136508180 BLAKE2B 9c944a35da1549bed2d43f2095dea351281293dc3ab1db34575b86d2df7b292dda3adab076840d52e60c5c83f1df870397d20957089cd4a910c2eca9405573cc SHA512 39fe2e687614886618ec94b133cd05394541fc423ec9f7e7e8b59a866a30984ac0ad4393b8264b1cd58c62d44019edf336a02c82adaaca4813ed57f33f22fa03 +DIST linux-6.2.15.tar.sign 989 BLAKE2B 08271f45e6928778d074f9f8db4451c74b6838babc816b862b114ffe01b531f845395945f4daf85a0b455260e0c3ec54489701715dcf22282434f7ae0c224f5c SHA512 38dbb5f07227d2329fdad438b8be7eddf6962bdbd563d4acea9c22224f12a58c4db30fa2c97c346778c423ceb8394539c9291d2f05a0aa1fde90ba3bee8c37fc +DIST linux-6.2.15.tar.xz 136531432 BLAKE2B e9e0f83ceb47a8cf43ef56592fac0878c840868827fc902030c1e11597e3b8df5626059977887d4f66160b404eeca584ed010e131eb6bdb218e3c465d094d57f SHA512 6e98257946424fd5d511ff7cb9f18a09c228a3be4bff3b06a82e2b7afb5881342314014cd7cdb4a42101ff836ff23930cf6b2d8589bc4651d3d7bbd651a2439d DIST linux-6.3.1.tar.sign 987 BLAKE2B c9f60e2f80ac4c672d6d6afa116ca2efa58f3d0bcee88e87a264bff76899ea5e7a5d46df221c8f2d1b134723c80a76cf2ff8920ce2a88ed1f328c98e1b822115 SHA512 e5ab6f6bd1294a2d53b01a67c58d175859fd5dbbadbf96b2a6a89c9e743d11e5a13c9713ccf997c321fbbd6ba17da90bf08998244a48c4be05df075dcf71501a DIST linux-6.3.1.tar.xz 136934448 BLAKE2B 91c7ac2fb2bdeed323b6f0812582bd82c78f62ce3754063716a8769b30c41e35ae06b042ef27fb3c59a63ca17ec764313d7971ba2ddf84f8cf9fe5885ffe0644 SHA512 381cea3db6d9e0dc50d7e4b01034593ad948f2e651d01e378559e8def921f3db6860c02e46c15e1bc933795e34dc79b5dd368b5b28b26a6c0b072c4a70cca2e2 DIST linux-6.3.2.tar.sign 987 BLAKE2B 7bade09f4db3b587ebe81c7e5aca939bea29337497e9b028391f43dea07018def6786c1d784557e06b5197f2e7178e73d14883f528fd365d4a1db6888f6d1765 SHA512 28ccc9351b16eac092ec3987b94b174c3d4c52fddcb0142ca4757a1e5c06c065de80e9f1d831bcbe8ba4619f1fad0b562d8c328409dbb0d0bdbdc5cbc9c1b591 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.2.15.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.2.15.ebuild new file mode 100644 index 000000000000..f3d6f00441b7 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.2.15.ebuild @@ -0,0 +1,137 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.2.14-gentoo +GENTOO_CONFIG_VER=g7 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-dist" + use hardened && myversion+="-hardened" + 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 + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} |