diff options
author | PA4WDH | 2022-07-30 14:27:40 +0200 |
---|---|---|
committer | PA4WDH | 2022-07-30 14:27:40 +0200 |
commit | cce6c03083cdb1e836f32e2bb2a8f66d7428af4d (patch) | |
tree | 0ce74b72c92be01b69d22751367e767561413744 /sys-boot/opensbi | |
parent | Add sys-kernel/sifive-sources-5.18.8 (diff) | |
download | unmatched-patchwork-cce6c03083cdb1e836f32e2bb2a8f66d7428af4d.tar.gz unmatched-patchwork-cce6c03083cdb1e836f32e2bb2a8f66d7428af4d.tar.bz2 unmatched-patchwork-cce6c03083cdb1e836f32e2bb2a8f66d7428af4d.zip |
Add sys-boot/opensbi-1.0 and sys-boot/u-boot-2022.06
Diffstat (limited to 'sys-boot/opensbi')
-rw-r--r-- | sys-boot/opensbi/Manifest | 2 | ||||
-rw-r--r-- | sys-boot/opensbi/opensbi-1.0.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/sys-boot/opensbi/Manifest b/sys-boot/opensbi/Manifest index 88f0439..a2bef87 100644 --- a/sys-boot/opensbi/Manifest +++ b/sys-boot/opensbi/Manifest @@ -5,7 +5,9 @@ DIST opensbi-0.9.zip 290818 BLAKE2B 5a8903c118faea18fc8e6b023ca0b1a393da2deb57f8 DIST opensbi-0.9_p1.zip 356165 BLAKE2B 5d714bce95940d4e02effdffc9beaafaa47c919c0715c7ece1a26653368550f933e8a577126a4fc04cfe8e37e340e24af26601879795671815d09438b6fe6724 SHA512 3c1f7d07b6ff0063c33d2e2248d3abf2ccf63025fa0922bf44dad567dc125925ebb67e557c94c83ba7399201e47d12ef0f643c12e9c2bfcf46f2570fe1486e7a DIST opensbi-0.9_p2.zip 369395 BLAKE2B 9c741be123eb958c8e43c9aec4bbe2c3a257d59996f2913022f2e9e974ba48ca5cdacd597431b31d296f9b1a6947bc9994a9ef0ea6a7cdfdd37bc14b90e4d70d SHA512 e382ef4fd7ed27cac14237b37159dbc077141bab2a714d39f349c027576d4c60496c9c1db9841091cceb46896224d14ea288a4d43f7b5c07491afed08db07b88 DIST opensbi-0.9_p3.zip 370844 BLAKE2B 0a0cc5a141bf87478938998ce6a39e5ece436e506bc99bc40dde8e019efc4e50fb35c17987dc613b706e92ba959951b7b399d62c415b2f4f0713c5f9dbbb4426 SHA512 e68a29d9638539137f5edb8a4b425a79ca5bf1807bd4570b9fd7f1f0209b663bc4a01fda5adbdbb296aef92295a00f4001a5df8401da5782e84ec867d117754a +DIST opensbi-1.0.zip 393191 BLAKE2B ebd88bcdc34b6387cca3dd31426ade6157a92cb2804e1c8c976f9e3f717977b5ace844da2d3fd2afdbc1112f6e1faac70dc9fc7b680218452c5b8cf713ed4e70 SHA512 e825c3ca2f9fc3c341191fd6170b39b402de0848eac11b8667c0d1dd13a9101bb6d5f2ee310114d051b17bed84d41d39214baa9d7680b559260d30b69e980bb5 EBUILD opensbi-0.9.ebuild 1078 BLAKE2B e0c862d73eeeac60869c95acdc3a8138a4b0169d90fa2a38d65fdf53bf132e306defa4971f004132e093136bc8a1c4e2a5407cfd2f20ef312f1fe9323c6e1397 SHA512 2d1c2ecb7a663ff637eab3f383d3c046834ebd7018d85bde7a7efe4a0bb47965f140488de4cbd39911dac8029c941410f1baa5384d81349f6f84a2d4b16c8fba EBUILD opensbi-0.9_p1.ebuild 1201 BLAKE2B 5a40e1b15605a6f355066fd27e60dd56266cea432b891f2d6994f02dad50b3491d4bc8231d0a5e6ee63eb3b7316c937d4260d14ab65b46d89ca731036861bb21 SHA512 adfd1ed96d6a467ff554f19a6bc3186be8ed88babb2e15d3ea3ed1dcfc569cacb3c3a8289bdbd7b72dbe23dc90daf8ab925bdbe9dbe08ae89778fbc196b7a95b EBUILD opensbi-0.9_p2.ebuild 1210 BLAKE2B 040ebfd319c73713d0d83ccb83ad1e57e1b9219fbc07ddaf83bb2a9c70f0f3b64e21a9dc5c239c1dd1bd37ab40aae84c42f35b2fcf9e55c42796521fee82d908 SHA512 406520e76f9a1eebdcd97db0c0ef54ce6a39476313613332c949dc28b704e9ddcc40370d3982aa3a05d84d7e6f01615ab146b4bff480c19b74756bb72792cab3 EBUILD opensbi-0.9_p3.ebuild 923 BLAKE2B a8643246bc0e8778be446d40b0232d1589f8e0cfb8ec183d49695419fdea8fdbf31bbac4d5e0c3d93ac8c0d21c994ee6565c6eb5206fb47cdc3674512b45b184 SHA512 39724f314948caeb329fc27bae9454b7ee4e612c62a440590f1c8cd5dde31a7580c4f4a736e02d208b47d7bf69f67878607008ac86aa5571e6def064af379a5c +EBUILD opensbi-1.0.ebuild 923 BLAKE2B 4787f56a8e872a7f675b556d8788f143c513a4cad1b4ecab6bfde67fe8ef9dda174e967fa37c6c95c70909f4679ace83445ccc35807bcbd94ae90042456fb8e7 SHA512 033ee6cd6c54266d1d5d49f8fb95d3165abe4e6f418e633d79e18c1946492fb25623428116a4ceca0d595940cb3af9ea9db12d3db2ae1133499a22039bde4045 diff --git a/sys-boot/opensbi/opensbi-1.0.ebuild b/sys-boot/opensbi/opensbi-1.0.ebuild new file mode 100644 index 0000000..ec120e2 --- /dev/null +++ b/sys-boot/opensbi/opensbi-1.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +OPENSBI_COMMIT="fab0379bb60d6e177018b53f07718b69ba34948d" + +DESCRIPTION="RISC-V Supervisor Binary Interface (SBI)" +HOMEPAGE="https://github.com/riscv/${PN}/tree/v${PV}" +SRC_URI="https://github.com/riscv-software-src/${PN}/archive/${OPENSBI_COMMIT}.zip -> ${P}.zip" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~riscv" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_unpack() { + unpack ${P}.zip + mv "${WORKDIR}/opensbi-${OPENSBI_COMMIT}" "${WORKDIR}/${P}" +} + +src_prepare() { + default +} + +src_compile() { + emake PLATFORM=generic FW_PIC=n +} + +src_install() { + mkdir -p "${D}/usr/share/${P}" + cp "${WORKDIR}/${P}/build/platform/generic/firmware/fw_dynamic.bin" "${D}/usr/share/${P}" + elog "Installed OpenSBI at /usr/share/${P}/fw_dynamic.bin" + dodoc CONTRIBUTORS.md + dodoc COPYING.BSD + dodoc README.md + dodoc ThirdPartyNotices.md +} |