diff options
Diffstat (limited to 'sys-kernel/gentoo-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel/Manifest | 15 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.10.183.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.15.116.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.4.246.ebuild | 103 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-6.1.33.ebuild | 140 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-6.3.7.ebuild | 140 |
6 files changed, 666 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 22d3e0965d21..2f06ceeaaf79 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -2,18 +2,28 @@ DIST genpatches-5.10-191.base.tar.xz 5394880 BLAKE2B 604549d0789ee4ea8b965b4aec9 DIST genpatches-5.10-191.extras.tar.xz 3868 BLAKE2B b0c035f8e43faf78344a1f413c6030fe2001216bfc9381e402e3fee7edb3cf2798042a3a3d62db2b429f53d6a68b445fb25c9c0255bdbb85d5df00c6388584b1 SHA512 dc29b28784cb160ba0a24921986b905efd8d624902b00994829b99bd383551da0b1b4419ec8b91626b896cfb3997480a62fb9691b497b01f331db1450b09fbb6 DIST genpatches-5.10-192.base.tar.xz 5401408 BLAKE2B 1e84821002dfa2af4f57f5cd3addcd037524cbfcf9e5cb7171725363457c6503f46b5bae92ff04ed3500e28daa1c9ab61dbff2495281732b972300284af3e7aa SHA512 edbc567165df20906acc7425d56ea7feeb3e9d402ea0d175a3c627b300eb33675552ae36248ccefc67584e2120f9e3f098ce204e9aa3858c443ca58c1d34418e DIST genpatches-5.10-192.extras.tar.xz 3872 BLAKE2B 8ab3d00e158a52558ee28b82235fd1df510953207d18073ca2fd8114c64c96742ec69dde5959273c451803b0f534ed7351cfcfabe3291bcd323cdf4d317a5610 SHA512 a93b072d731f9bcd2e4d50af05902ab50b9145aa5e5b02141f203ad0b4c82b308c0cb599fa6f790b84584197c65270ec701ec94a321f39e745625803a3d6093f +DIST genpatches-5.10-193.base.tar.xz 5429232 BLAKE2B c8ab1eec55b3e282af48601c93a6e53a2974e7b255f56346954c93976ac9870117d91a6b9e8809cdfd0cdc27ec4a3eb292e7d9b10de6ecb7b8c54056380ee875 SHA512 44733f8f09f34bf792d0c7dfb6915902a71a234e8e4cd975316ceef23fdf414b01d1e97e317e48dff7af38ac2a04391ddbb0b8ce97ca13088eb1518bccf44390 +DIST genpatches-5.10-193.extras.tar.xz 3868 BLAKE2B 5261a2132d49eb98e7e292f577eed23ba8da86f3b05b57a75d15543dd1ec0c424f4dba04a39aea6b12e320792a9f0802be6d7876bc64a1f864abed03fc8e0c36 SHA512 5383cad41ca1a0fb2933de4fc07207562ff572231f17398ab9958012b3f27d382b2043fbc9fbd784ec1d5f666f0baaf27e75d0a31473c56779f4cb1a32d89707 DIST genpatches-5.15-120.base.tar.xz 4681108 BLAKE2B 7e69c38991ab3b5ec949f48fff8564c854017b8bafac61747eede20f79d71dade59effaee29fe849b1fdbee7abcaeeeef3f55a39b95b96bda6a70af05a905a68 SHA512 2be319896281e7cab1646da40a3067c3815270ff5fb29edccda9138862a39ace2192a1cd38a4232bc14ebed0d6c0c877a9fd58f225d7cedca743664e2a993025 DIST genpatches-5.15-120.extras.tar.xz 3932 BLAKE2B fb00b97c8b61234646388bec0dd23a1310a7bdca9d04a2048a32a4e30605662c7001188bc125170aeca2ded63954a71b612908286aeab06928dec00cedc76902 SHA512 c2b6ee91b3505dae7fe78a393001cdf6ac7d0020f8123f14d961b90d1424144996e182fcb5304d5890c041e2d940a960bac0795ebc22e85459285b16f67d9b3f DIST genpatches-5.15-121.base.tar.xz 4695588 BLAKE2B 2bbc7102194c0526cdc1f2e310871756ab87e5edf35273c41a2a8c26abfa56149361a2a8af68e215e14912bf2238c7610f60f69f88916404781488352fbdd95c SHA512 822e207359ef8ce3894152de6aacf66974d8b8bcbc5329dbcbda379cb6dc81d348ad9a38022abd05131c1a4df955426da25bf37b83ac06ccead4aa1277b2eb36 DIST genpatches-5.15-121.extras.tar.xz 3932 BLAKE2B 22ef45027450ffaafa2637aab88656c56fee375fcad14403693f94894cdfab96bb2b930cec4852babcb4bac86b07bbc9e6e103de7c871b91ef3004435e1cb785 SHA512 92b785c17dd171871dbcd841810c1e7da4fd7cc5027040340dd90f6bf97153dd0e300a6bc33e61bc7354b6e6648e3bf718d161ebacc5a4ed3a3e86e885181ff5 +DIST genpatches-5.15-122.base.tar.xz 4735096 BLAKE2B 10746c787ab70dc82b688b8720144b80719ddd7f4719e9fb2215b667ca7806b2e8c5626dd66b46f20c0e6d7e05352c84eea9cad93327fdd8edceb4fe52f43416 SHA512 65437aa0e53effa3eb84e3d7b2a0497ed4f4ef85fa96e75a8c591f27a610629193094c6d03dc676c462cf41a55bda5b5277c14726d48ea6ed59e8edeb92105d9 +DIST genpatches-5.15-122.extras.tar.xz 3932 BLAKE2B 35fdaa40b4b4e297df7f8702ab017f4c49bbca2aedc652c6e5ba8fec6b1573a57d17a9c7b21f03b56b43d9bc888e3d55354ceb92e84dde0a89983dfa1c3ffc16 SHA512 176deb6aef0eb9dace274bc4ca0f29a8d657461583dc9133feb4272211f910313fbb69fed308705f00c1c6d86845f1e961ea0066b09b42cac75a3579b3d3ed14 DIST genpatches-5.4-251.base.tar.xz 5798892 BLAKE2B a519f23086a440d560e5301b77aa1a627e97d9c2545adddc6fdfe9b55b35dcbef285a6e92d4ab615b517177723875a53b6b5f1dc9c237dec3f23acb511e08be7 SHA512 c8d228cb18f2c64631ee5a40d7de58e78c7fd2c452f54101d0e6f67149d5d3df30076b461dada5bd862e4b97daf30a6d15c3f50526b46156d9ffca946b3c65d7 DIST genpatches-5.4-251.extras.tar.xz 1812 BLAKE2B 440f5d63b80e31753c46c2c2bb07bfdd257cac6847dfaed63a19c9e255da0e6ca31f5535718572afa143918bbab9d8651b0d8462f5bce619866d78acbc063682 SHA512 54d1ea7625daff0c8d50f8abfba616378d8bc4c62cdfdc03648bec9312803464d0c662bfa619c357a73247c00b22b9725896cec5aaefc66ef811e0f97ff62e91 DIST genpatches-5.4-252.base.tar.xz 5808300 BLAKE2B d5cb4fe312f469a331269eca8604d9c43feca79bc6778af670fad859de3098c31cf0408fb58d95f233564e0ab2eff7a45ad041b8fc6bb97be0f93dd911224b62 SHA512 4970b66f064f53db230877fed6434e39aebb727438465667af6eca8603b712089830789c16bae5fe0249dfed0cb4bdbf1ce695cc7a1ebb6ab64bb61b1b38a5cb DIST genpatches-5.4-252.extras.tar.xz 1812 BLAKE2B 07013e9aa5c8a2380424df700ac7ce592732316b97d6605ffb0e75270b9b08716030a56ae78b9f09b9e314fdd78ab8a8bf986ab767eadfe0a58cf2906be52b17 SHA512 3070acc7127a372f02479f4eee5f465dc3c1fe1ac3b4c2ce0af61d2fe091c509f7e7ef2af8564eb178efe031ac5fbf2f23f48bce4ea54d4500e1b1eaccea6340 +DIST genpatches-5.4-253.base.tar.xz 5855284 BLAKE2B af86d19abc80339eb77bad98df5f404ef5db39584955094c54726d33f6a825c495d835c1f809123903debb2c31c6ad3f07d077978d10c6dafe8170cb60087c7a SHA512 5b9895d2ec8b5080802675912ea8419ed892693f82a4098e997fb3b6ce92844d605a865b31a2f06272248ec2386e36a0e9f74c163ef28e4157f29788c0e7eb5f +DIST genpatches-5.4-253.extras.tar.xz 1816 BLAKE2B 2d3492cefc1abb1b5f35c375afb99892eaab0b90f2b5624560b5dfa4b89bc6eff729ed81737e04e33f78e66b74835a8dee260cca14261c5d2a88644b1b30f8c5 SHA512 31a201024441c55f5477b431aa94a2fe4c98977bb9c1a359af07519b8a204f16189f0595bf71aaddbb88c88e73ef918dc3943bc0a17a2a573cf34dd68dcbb211 DIST genpatches-6.1-36.base.tar.xz 1892196 BLAKE2B 21e7b006889ce39d3b2afaa981cb04c1229050d13b944086ac2c51add6c63dc96c3ac2dda188dfa11a45343904e26589684ffea3a22c235738c1c6d8c38a11cd SHA512 b4de4f6db586a9aafddf639ae914b35ffb0e2340ef312c64a48f4a0bfc02c573437595fc61596245dec2eac7add9f62925e575e2f621d2cf2e80262096f64df9 DIST genpatches-6.1-36.extras.tar.xz 3808 BLAKE2B ba99390043e4a62ea1322364ba601440fd70079ffb98dea924f91aeb00a7add4d2402e16589e0406e66ff9e0ec7a9d0d76e0a14276fe486507345c8ebeb82bde SHA512 ab4170a7b75c2617ccd5c08b7c5d84e68e593cacdca70dd59ed0b738639ddf3bbbaf6a4758728ff74026478a341782eb0e73a6a40ef9a7158f9c6221703afc55 DIST genpatches-6.1-37.base.tar.xz 1905836 BLAKE2B da087dc0f3e1f683b025c16f9fc4c60fb041d9b1a7c886f6b235dbf28afedda1283780298add52e211d4bde198247413c633908f891f6d1464bf0caeaff76f26 SHA512 528ac52eb398dc272a0011384c6ca4af72cd7e0b4a75f5c81d71c8aa7b04a11b58ab5445b99bfb53bc559e99e5aeb42dd9479aa8c8b2d42510709614de75872a DIST genpatches-6.1-37.extras.tar.xz 3808 BLAKE2B 020021d322f4240a950fc572f3442e554645419dd64f5e15ddb44e77bd950fa41030e5f8143949ac9e6a96eabf392d317fd7557a9ddeaa84b3979d399cf269c8 SHA512 9b6ffd0a94028f2bcfb3e8a1e24cc11f722fe6637b11f3cf9e5f21883291c456108bc2b7014d5aa5733ee77db2d2b9c196bd429b70fad3a6435b5c7773f37823 +DIST genpatches-6.1-38.base.tar.xz 1956240 BLAKE2B 65193574bdd8fdf4dc5d78af616729db4f8e5ed4ad6fa22baccbe27cd0518175fd02acc218074c709b86831eda460a99013b2444c1f6ed358f545a3133afdc00 SHA512 d8015efd3980cf82f499a813589affc8d7b6acdcf748c17c9b3a4b41730676443611d6375e517c633bdb8d2119b1cbfe50bd8984885fd97c29455f00078d64f7 +DIST genpatches-6.1-38.extras.tar.xz 3812 BLAKE2B 648c0054d5088b51d17e8b825153c7fcc7988d973811dcae7ccd64bcd78b4634d410aaa848b3cb31272eec552ad410c705388b8887603d94b6cf5a5170f7b36d SHA512 313a119b47d954ebef9dea3a48024a8d4e7f3b4b62de74f19acdb997ece3e198872fc3c50e10171687b07e8bbf85c5b7dfd80045ed7184460fda3c68c29e8b9e +DIST genpatches-6.3-10.base.tar.xz 593348 BLAKE2B e4d149963ca7d441b60d40af98939acdcc6163a09790ce103c78d33aa554de170136fbf8a4aa9285c5bde7fdd3cad54f73152d56038d7a299f8e69158b420d50 SHA512 7fddf9a02d8767c0236d8c3e1097a267d7f4961308eb08826299b596ba96b1e2fcaa84c22d986619e99aff3817f64fbc3740b87e5d0e1949dfe85d7f5450697f +DIST genpatches-6.3-10.extras.tar.xz 3808 BLAKE2B 7a4885c76a17d73d7f03836d243bee424f5d4e4205a6547f1b4fcb709f4f6c2c4b1c61dd542b260a3e8dd724f98d851850eaf0930233988670c674a8a2928bae SHA512 f851bc9d10ad98ee74fb26344236670c0aaa218c4bf24eaf54e6376ca68d0626cc1d8f954a1dd3b61343dbd41a286d7c8d9a743ab50c295c0c729732cfb231c2 DIST genpatches-6.3-8.base.tar.xz 502012 BLAKE2B 190e68ecc877c5520413129ad7d28f8a088775234c18f59f74a4675b1256c7da1d8dc1b323c232523fc3044f3dd4988a77ecacedda715ff3431f910b7b0d58b7 SHA512 02f4b62eb098d875e4c66325f2abc74917fe0d88c1c35ee84ee2a19da878addd27719e9e2a0dca145707335338eedc905407dcd54c6706ec18a2f0920fc082b6 DIST genpatches-6.3-8.extras.tar.xz 3804 BLAKE2B 461a2a8fd04a4a7ef2f714f5472d2169b4119dbd42bac961feb6b890b8d7def33931ac8dbe423e9d8ee32e60d56ca01bcc4c814c18e445da8d8bbb9b58a6a717 SHA512 fc563f898ee88024d4b60eec567a7439893339c9f51b4eb9a09a0b16b1c7fa164260e63396ea923e776751dfdbd52d2cddace03f212419d4b145e38b5d670dad DIST genpatches-6.3-9.base.tar.xz 517548 BLAKE2B 1cb215f7a6dfb9723ad2b784aa463e097686e7aa230f50285f55167590d2e673f986081a9b2e37ff8f96ad206a61e2bc34ce36b6c22c652584d7dd6a18ebe20d SHA512 039e3c8bc8927d1bef377b451c957bc394186061fcd6027defe34df59000e40f2aae9924189e8e10d240fcf2197236e97f7fc5cc924c18917349e2c74a3d2125 @@ -46,12 +56,17 @@ DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b DIST linux-6.3.tar.xz 136891752 BLAKE2B f1887c8924efa8d0cb14c4e604affd0b0168bcf20f56a37c027405c7bc11aba822a43fcb38ccb55a81a26f747d00e1ab5a6554818affbf1e1c7ef5220150fc69 SHA512 768979440f4907ba64d4481b383d6101faf208f27a0b897156123aa278c5743fe3c4f61945b2541429c532d45382aaee8899ea9d44a1d2895bfbb79bfd937f65 EBUILD gentoo-kernel-5.10.181.ebuild 3660 BLAKE2B a00d551fbfc33807e966bc55b6a8cb7dbe25cf56214322127f33f63adc7695a1922f502d3d3de391357ca2e79a62bb4639f385f8a1f3afe144847f526e0d20cf SHA512 4b5eede3cccb9ff548323d4cf79b0659fce001ba69c02d24a99ddb9f072b6ab6eb960bf05edbd7397b16d38970304f885d98c9c9b3a35fe46546c309aa3cf33c EBUILD gentoo-kernel-5.10.182.ebuild 3664 BLAKE2B af024625d4014a5bf402702c3d2e637ee0eeeda12e7e2e21eee657fd019f7726256bcb2639d8872e68b49cca6eb55d39f8e6d42cbc262bc74f21bd5796228eca SHA512 e4189b5c983d2f6a194e903739cc024161f3e2f4ee40a24a29490931bbf1eba2ae622da022a8103f761c29afda7bdbeaace747903741205c13c6920c1ee9cbb4 +EBUILD gentoo-kernel-5.10.183.ebuild 3664 BLAKE2B af024625d4014a5bf402702c3d2e637ee0eeeda12e7e2e21eee657fd019f7726256bcb2639d8872e68b49cca6eb55d39f8e6d42cbc262bc74f21bd5796228eca SHA512 e4189b5c983d2f6a194e903739cc024161f3e2f4ee40a24a29490931bbf1eba2ae622da022a8103f761c29afda7bdbeaace747903741205c13c6920c1ee9cbb4 EBUILD gentoo-kernel-5.15.114.ebuild 3656 BLAKE2B f28fc4c7aac5f5c4f20e0feb60082a589e06c40732771613b23d6e0768fe550f8e328a25e0b292bdd80b0ef50e51f85a66f509c8672615271c041bed2059932c SHA512 31784e64a5d7dedcc6ecee27b144778502b62e2afc7f5e27ae890dfe155171970081952d425fed6499750e84c68335a0317763db7a9d1f158e655d175f6ff9d7 EBUILD gentoo-kernel-5.15.115.ebuild 3660 BLAKE2B adfae469fe7d2bc99867375d81d6a157a24d79c6314c41330c9e5460890cfe06e22780d341950f4f2002cab2a72704eb6bbd33d25683e665078b5a47eba6d380 SHA512 b168699de4088c154047829cda497d6f51aec4b56aa1f3f6eb99fc04d01d14c080ae8c5a456cfb0891f5d9477d79be7b38dff28a7040d4e04067f43fd1b246f1 +EBUILD gentoo-kernel-5.15.116.ebuild 3660 BLAKE2B adfae469fe7d2bc99867375d81d6a157a24d79c6314c41330c9e5460890cfe06e22780d341950f4f2002cab2a72704eb6bbd33d25683e665078b5a47eba6d380 SHA512 b168699de4088c154047829cda497d6f51aec4b56aa1f3f6eb99fc04d01d14c080ae8c5a456cfb0891f5d9477d79be7b38dff28a7040d4e04067f43fd1b246f1 EBUILD gentoo-kernel-5.4.244.ebuild 2860 BLAKE2B bc1812c00d3f6c58b51d0e9389055a6ca000db0fea5dbdbed392790fefce8a9abb2766c1083c3215c09453d89d6fe9889ffd62b1bf873ff69dfedce41badbf7f SHA512 96e28a4dc569a8d6ae0ea10710db9187a26a448640e76507414031b5ea16ee494a889cbb4a44b9f13cefc9c00d4066a46e8a0887f9fd5dabba5072605d283023 EBUILD gentoo-kernel-5.4.245.ebuild 2864 BLAKE2B 9c8cfab868459f96ae38c0be597633a33ca73abfbf3fbe6f7e970ebf02874e440b56da5acb8368f54f30b6788b9262952b88c946b36f38dfc11a9a8b54f36f73 SHA512 014eb31ea72d58680b6c5bcadb70439775b2946789ae1a9b478fa8d50355bc834dc09b4cf7357a9ef051b657f5e8bf84a73a839bcc2f86863ec6eec51f053253 +EBUILD gentoo-kernel-5.4.246.ebuild 2864 BLAKE2B 9c8cfab868459f96ae38c0be597633a33ca73abfbf3fbe6f7e970ebf02874e440b56da5acb8368f54f30b6788b9262952b88c946b36f38dfc11a9a8b54f36f73 SHA512 014eb31ea72d58680b6c5bcadb70439775b2946789ae1a9b478fa8d50355bc834dc09b4cf7357a9ef051b657f5e8bf84a73a839bcc2f86863ec6eec51f053253 EBUILD gentoo-kernel-6.1.31.ebuild 3915 BLAKE2B cdeb40055499aa278517eff23df65612c7fb693dea99ca4351f95167a1175d3d9fab18c949cba669b3e4a400092290344333a8bcba90337da114aa164708ba9a SHA512 16fe59fb76315074103bac47e4dfd18274f09dac862381b521ab0d3c32c58cd11076404d59aab7d4351ab6786294c8c06a787b2e3a4f88c7d03c9eefac58effc EBUILD gentoo-kernel-6.1.32.ebuild 3919 BLAKE2B 94d646109f6ba20b49d1b536b60f864931c42a093a934c9a54d5bab61f84adf8d072a401c36e4f464125756d15373c159d835c8b64da9e68f364dd85360e13b1 SHA512 3e9d6bf7af0ee81645f3fa3410c6fdc5cd06876c952a77e3ae043634b15b3fd6370e83eef8f312a883df87d98dd9b228f7b4d30145b514cfa5037db0fbe6243e +EBUILD gentoo-kernel-6.1.33.ebuild 3919 BLAKE2B 94d646109f6ba20b49d1b536b60f864931c42a093a934c9a54d5bab61f84adf8d072a401c36e4f464125756d15373c159d835c8b64da9e68f364dd85360e13b1 SHA512 3e9d6bf7af0ee81645f3fa3410c6fdc5cd06876c952a77e3ae043634b15b3fd6370e83eef8f312a883df87d98dd9b228f7b4d30145b514cfa5037db0fbe6243e EBUILD gentoo-kernel-6.3.5.ebuild 3919 BLAKE2B ce36a0c01561205dfd8ae0c201499482c598a9a937585e76b8beb9d9f6f267bec97bba421094afe33633ef4f9e8c649f15276533e48105cfa2d3cb9722780f36 SHA512 de4378b2e5d63ad4bd5f245eb20d9e4cd1e05f35789765cb64f6f316cd2f6e4e74b1503717afaea84bad334ed15c9cfe1e6c69f49814e7008a8f00f71c9cd398 EBUILD gentoo-kernel-6.3.6.ebuild 3919 BLAKE2B ce36a0c01561205dfd8ae0c201499482c598a9a937585e76b8beb9d9f6f267bec97bba421094afe33633ef4f9e8c649f15276533e48105cfa2d3cb9722780f36 SHA512 de4378b2e5d63ad4bd5f245eb20d9e4cd1e05f35789765cb64f6f316cd2f6e4e74b1503717afaea84bad334ed15c9cfe1e6c69f49814e7008a8f00f71c9cd398 +EBUILD gentoo-kernel-6.3.7.ebuild 3919 BLAKE2B ce36a0c01561205dfd8ae0c201499482c598a9a937585e76b8beb9d9f6f267bec97bba421094afe33633ef4f9e8c649f15276533e48105cfa2d3cb9722780f36 SHA512 de4378b2e5d63ad4bd5f245eb20d9e4cd1e05f35789765cb64f6f316cd2f6e4e74b1503717afaea84bad334ed15c9cfe1e6c69f49814e7008a8f00f71c9cd398 MISC metadata.xml 465 BLAKE2B ea1260a1638588a48d9dd776e9eabd9730a181af8416ba778c936fa2e80a2360be146d3cc80599e50e0a72ac709eb9538184aac87cb96528e445ed450e34f4af SHA512 c7b7b1a45fb7082b8d8d66cf5a387cc4f7207cd9488d1d5e1d6900f1e4147aa9290b5522a94d941a885f1599b5df2482b529e40912d2b2cff400ecd4b1704c41 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.183.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.183.ebuild new file mode 100644 index 000000000000..91e1b5a2d288 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.183.ebuild @@ -0,0 +1,134 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 10 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g7 + +DESCRIPTION="Linux kernel built with Gentoo patches" +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://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/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/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 )" + +RDEPEND=" + !sys-kernel/gentoo-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() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + 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="-gentoo-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[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.116.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.116.ebuild new file mode 100644 index 000000000000..f45f633a3dbc --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.116.ebuild @@ -0,0 +1,134 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 6 )) +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +GENTOO_CONFIG_VER=g7 + +DESCRIPTION="Linux kernel built with Gentoo patches" +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://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/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/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 )" + +RDEPEND=" + !sys-kernel/gentoo-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 + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + 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="-gentoo-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[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.246.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.246.ebuild new file mode 100644 index 000000000000..e8d62eeacffa --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.246.ebuild @@ -0,0 +1,103 @@ +# Copyright 2020-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##*.} + 7 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.4.21 +CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea +GENTOO_CONFIG_VER=g7 + +DESCRIPTION="Linux kernel built with Gentoo patches" +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://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/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config + -> kernel-x86_64.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config + -> kernel-aarch64.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config + -> kernel-ppc64le.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config + -> kernel-i686.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +IUSE="debug" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die + ;; + 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.config.${CONFIG_VER}" .config || die + ;; + x86) + cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + echo 'CONFIG_LOCALVERSION="-gentoo-dist"' > "${T}"/version.config || die + local merge_configs=( + "${T}"/version.config + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config + ) + use debug || merge_configs+=( + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config + ) + [[ ${ARCH} == x86 ]] && merge_configs+=( + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config + ) + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.33.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.33.ebuild new file mode 100644 index 000000000000..d77da3bdbc2e --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.33.ebuild @@ -0,0 +1,140 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 5 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.1.7-gentoo +GENTOO_CONFIG_VER=g7 + +DESCRIPTION="Linux kernel built with Gentoo patches" +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://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/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + 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 ~riscv ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig )" + +RDEPEND=" + !sys-kernel/gentoo-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 + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + 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 + ;; + riscv) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-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[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.7.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.7.ebuild new file mode 100644 index 000000000000..fd81855a6140 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.7.ebuild @@ -0,0 +1,140 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.3.1-gentoo +GENTOO_CONFIG_VER=g7 + +DESCRIPTION="Linux kernel built with Gentoo patches" +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://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/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + 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 ~riscv ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig )" + +RDEPEND=" + !sys-kernel/gentoo-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 + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + 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 + ;; + riscv) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-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[@]}" +} |