aboutsummaryrefslogtreecommitdiffstats
path: root/sys-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/sifive-sources/Manifest5
-rw-r--r--sys-kernel/sifive-sources/sifive-sources-5.15.24.ebuild40
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-kernel/sifive-sources/Manifest b/sys-kernel/sifive-sources/Manifest
index c2e82b9..bf714c2 100644
--- a/sys-kernel/sifive-sources/Manifest
+++ b/sys-kernel/sifive-sources/Manifest
@@ -19,9 +19,13 @@ DIST genpatches-5.14-16.extras.tar.xz 3840 BLAKE2B c36321060c45651af5fe20fd7bffb
DIST genpatches-5.14-4.base.tar.xz 20400 BLAKE2B 2b0781d16dcc40dd8db831fca56c87e4edf29f0bb54a75949eb251eb98a3da1f0f635cd37ec887498ab4527071edad95f2e22d742aa37e3a1957d5eada102f43 SHA512 48d883b13c1ece3c62a3892b4d06bf1e14990e4a6ec62ca0b96432069a11f05fdb51c3d62187fd8dc70adbf7c93d18aefcb496a4d9be8d42bc9c9dcb52aaad5c
DIST genpatches-5.14-4.experimental.tar.xz 5408 BLAKE2B b2ce3ee820369e9060a6edc646636f6c4056ef3050b622d0047e80392aec7da59b7b56c2416a2d83ce95c1aa75c10378d9a5723ff7c0537ed81d882b235db91f SHA512 fc8954f3f7d3d05583a748ea43cd0a0e182f8963ecb9bb73e3e4b722de4d6bd79930ef27100b2f4d4ea93742cb4d98bb69f9dddffb931d2fb9278ace81ffd2a4
DIST genpatches-5.14-4.extras.tar.xz 3848 BLAKE2B b7ff12e366e9db24cdfd67da87e3429b2d39cd7d13fa6cb1e780e59a54fa465641b0b6440c51306cf0f4ccd3952f6f4e8993200f29f9cee36b6be4e84b014291 SHA512 99b0d40e43236e77f188608973e30cd4f1562f6d90c1f71fd95fd9b0e8146744b3b8862e84b9b33e69193cff0a7223a0e9f25cbb030a3f80e4c2d86ac6b50873
+DIST genpatches-5.15-26.base.tar.xz 1059876 BLAKE2B d3a7b03647f3ce4a10ac4b75e52723d26cd56f880ca786883c236b3569c7312555ca57325a039bf9713cb44b930190b2e099de6ef9d677a9cd5e8ef9179fb52e SHA512 241f1cf431626fd0f406f5a661363a29293a23057c58a4cf63bce6383d126e4f276be371eda670abec8699036d46c1896788f1f56d47239fdb9eeec6d5c8a51b
+DIST genpatches-5.15-26.experimental.tar.xz 5420 BLAKE2B f14b3985ace4ac02b1655ae3e263dede99462edab13fc5e70db9c0c6edd9e62c57a9c25651bcf501f644a5485ec183d4f2a109f31d0e8dd4301af9848d77f672 SHA512 a17b311bc426300e752ec38da65cd7554e8fd02b7b96adb2461d671e0bd00c8a691990bd86601d2c04740662483e7881318311f8bff87eb1611a8449c1e2db7c
+DIST genpatches-5.15-26.extras.tar.xz 3872 BLAKE2B 84bf993010dbdf678e9c42e5807bcd1cbf6066d0ffacad81d8a3d7c16c65cf0b59b219e691aca1fb6932e6aaaed9a0eabcea8921e8042e5e6f57d0ae45e53826 SHA512 55cc9f5f2cb30f2b81b7815254d2932f851f5691fdc92c5a01b3a8977392ac9eebcb77b826571530ed435c4504560dcaeeab65e0c51c35c23599876b4992bb62
DIST linux-5.12.tar.xz 118112412 BLAKE2B 842d921b9a73d2aaade763dbd2ec67bdfe0275baa6d628b775f5c87574ad7dc86f0419afcd48c10c1235f4bffa16084243f2cf4556e6afcd391e975fe8ba530b SHA512 be03b6fee1d1ea8087b09874d27c0a602c0b04fd90ad38b975bd2c8455a07e83c29b56814aaf1389e82305fae0e4c2d1701075a7f0a7295dd28149f967ec5b3d
DIST linux-5.13.tar.xz 119297284 BLAKE2B 9c4c12e2394dec064adff51f7ccdf389192eb27ba7906db5eda543afe3d04afca6b9ea0848a057571bf2534eeb98e1e3a67734deff82c0d3731be205ad995668 SHA512 a8edf97e9d38a49f1be2bde1e29ad96274bb2c6f7e8a2bebaa1161dd4df9cabcbaec4ff644c45bee94f86ae47725087d6deed0cd954209cec717621d137db85e
DIST linux-5.14.tar.xz 120669872 BLAKE2B 0047f5aaa3940dff97f4055ef544faafbbb5282128e6afe21d2f47d8dc8c395806a17016febfa050117d16f59e74b882cb8b9c5011d68f119c230d0a4d120524 SHA512 8e4f3ec3d36f774280f75dc7b004a43e09417af58f12e9c9f8348976659d4cfda7ad905f306f43fed66a27922e5c45db22e46bbfa7a0b9f365012380de3b6f64
+DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
DIST meta-sifive-2021.05.zip 664346 BLAKE2B ca98d75c4fc255f3ec99c3e9667e1a5e43fc1db88b83010db3766ff8e70acfaf2741dde96da65265aeef5ca82e1cc93a96ea771dd48cc2c9ff4af24d3feb4b82 SHA512 e60052fc183ddd89a4b0a2a443aedfe22c20ce1134925d6c0d52946ce9a5ca04750408fcb7b191ecc30b4d4b21c9e2f262d0d2b89527923a7cd82dc01a7f2345
DIST meta-sifive-2021.08.zip 784034 BLAKE2B 941a431921f0179a54f648bbc7b34cc49f17d80c791a706ca781c3fff28a6b067e738052d730f0d5436bf4716402488ca80119c5dadca4227c37c8c4bd60f491 SHA512 3ff0bb79b8da6367166a41796217789668078bb80c32b2492263e1e80147f6898927c9842995d5358da5b1931909df325e4b36b0d00b1956cf09485038db4d1a
DIST meta-sifive-2021.11.zip 455636 BLAKE2B b2abf1e707f0dd7a12c28ec54a53754006827cda5a7d428bbd121d0df1b11c1eb776ef88c6bd30943092a2c6324e1a9961186d0f0a35aaee90446a0e1e1fea8f SHA512 4bd1c3dc11e7b9415ddc8c15d139925e29ce22532911fd426a66d753d4a9e29ee0948224b5ab40dd0c354583ca579084429021e95e32ede3f71c33ddf9625a04
@@ -32,3 +36,4 @@ EBUILD sifive-sources-5.13.4.ebuild 2024 BLAKE2B 980ed70fd944764fa86c834b8eec452
EBUILD sifive-sources-5.13.9.ebuild 1303 BLAKE2B f717234bc40f260045877bf49eca5a9c819acdb5c10483954c6ae199aef16b00a8cc762d6ecfacfe2ee01bc372994521707afacd4e0765a37776c1b5bee89e63 SHA512 3989f4cd448b94c918bf3af0b4cd2cd2e072056a6aaa84c5bee027e26ff4e8a3013731154f4a293e651c001c6c68ede4ba59319b9d56d9635378ff2db20caffb
EBUILD sifive-sources-5.14.15.ebuild 1303 BLAKE2B 87087661659fb0e5a7501d5124934a91778d65a4909816e90a7207d7b4e4471038c255b71d46f1fd9525d91ec1502b9ff85a81659d3b9c1851190b9f554521df SHA512 3fd4307af869dd7214f7bcd067d76d5f0419cc016223342726a462d9b295834c74be5b1da13c8a0c0684d644d0942551fe49cb0bb9122c09d5e0eff63dddb379
EBUILD sifive-sources-5.14.3.ebuild 1916 BLAKE2B c222a860956f2dd045ab30c7152826681285072b0fa9aec76e27a32c40c1e977fb32d649dce269c14eaf41bda5df435dcd4716a8741f3744c770da771486aa3c SHA512 cee71532b491b001f2a9a1cffb471416c08df23f22214ef69530dca61b47eba2b872b4e88bf1c8a7b810d252e6a8480e0268248aaf9b76c603ebbfac3bc0e744
+EBUILD sifive-sources-5.15.24.ebuild 1583 BLAKE2B 5ea5ec71c3817eaa88db3c160f93c0c22141effc3f4a8dd12a469a2cd31470aa7ec0fc938b7fee7e56fc30ef2c3626a59d27b0e501809595a9ac4ecdbb5de31d SHA512 c7a9a15c3ae9e7521c248c98024faaaee49674270c1ea7146d6985be2ad4d3dcad896ab1da4b31507071f1fa2880861c8d454245f4c195f2ccfe383ad3ca769d
diff --git a/sys-kernel/sifive-sources/sifive-sources-5.15.24.ebuild b/sys-kernel/sifive-sources/sifive-sources-5.15.24.ebuild
new file mode 100644
index 0000000..98bc624
--- /dev/null
+++ b/sys-kernel/sifive-sources/sifive-sources-5.15.24.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="26"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+HOMEPAGE="https://github.com/sifive/meta-sifive"
+IUSE="experimental"
+
+META_SIFIVE="2021.11"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and meta-sifive-${META_SIFIVE} patches"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} https://github.com/sifive/meta-sifive/archive/refs/heads/${META_SIFIVE}.zip -> meta-sifive-${META_SIFIVE}.zip"
+
+src_prepare() {
+ unpack meta-sifive-${META_SIFIVE}.zip
+ rm "${WORKDIR}/linux-${KV_FULL}/meta-sifive-${META_SIFIVE}/recipes-kernel/linux/files/0004-riscv-sifive-unmatched-add-gpio-poweroff-node.patch"
+ rm "${WORKDIR}/linux-${KV_FULL}/meta-sifive-${META_SIFIVE}/recipes-kernel/linux/files/29868ae1478fe18231672da94c4e862a03218a25.patch"
+ eapply "${WORKDIR}/linux-${KV_FULL}/meta-sifive-${META_SIFIVE}/recipes-kernel/linux/files"
+ cp "${WORKDIR}/linux-${KV_FULL}/meta-sifive-${META_SIFIVE}/recipes-kernel/linux/files/defconfig" "${WORKDIR}/linux-${KV_FULL}/arch/riscv/configs/unmatched_defconfig"
+ rm -R "${WORKDIR}/linux-${KV_FULL}/meta-sifive-${META_SIFIVE}"
+ eapply_user
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}