diff options
-rw-r--r-- | sys-kernel/armv7multi-sources/Manifest | 5 | ||||
-rw-r--r-- | sys-kernel/armv7multi-sources/armv7multi-sources-4.11.3-r0.ebuild | 90 |
2 files changed, 95 insertions, 0 deletions
diff --git a/sys-kernel/armv7multi-sources/Manifest b/sys-kernel/armv7multi-sources/Manifest index b9cc26a..05d3652 100644 --- a/sys-kernel/armv7multi-sources/Manifest +++ b/sys-kernel/armv7multi-sources/Manifest @@ -1,11 +1,16 @@ DIST genpatches-4.1-8.base.tar.xz 136372 SHA256 9be08b05eb8a10387d791d496ec5a4e7eb22c07dabb93bbba21f2aa11fb5be61 SHA512 67110c4191d8a40a435bd767a8024edac7bb00de507703a3faf5798d484f2d373aa1257bb23209f0151c394b08fb2577af5b8bd621a6654bfdbc247e4a083c58 WHIRLPOOL 26e727302e2c790805748e85610c5673e7b0c2869be9bf2938df07c18ed15c44ed278c285d073d71c69d83614bdee2c3058b82cb3720188ad91994fdde442820 DIST genpatches-4.1-8.experimental.tar.xz 214924 SHA256 89ed455ba8d8aee207993b600b79b067d3fdf329b143ddbc00fe7b562bdf9893 SHA512 0722ea9d5219a06e6bee24a1be46fccf098367c2845e9c2196c29412fd64815db06f42ad724fd96bbd94527e84bb01929b744059add8b5fb555dcc87d2e8a593 WHIRLPOOL f4b3a57bdf713c4a5819276cc2a6f441741c91ae58aacf49076bfe889b617f67f158b5a61a27341318a02bb8de1b1959860433339d9a3a2337a62098a11e6261 DIST genpatches-4.1-8.extras.tar.xz 16172 SHA256 8968ac71a0bf7c9d17600c5ac09d78216e14c54cfa9873aabce9c972747b3aa8 SHA512 654154fb0c7701083bcc530448cf1eb1a93bb0bfdc1f7816f40a5f8777b3e2209ed49f23954b095d99cd38cb83a676f0597cde13499b8ed7cce94eac464a7329 WHIRLPOOL c4d629ffb6211a71771ffa5165409bf29091e0c34e4350d6142617dc63f48c1d9d5bbc14b0b39d068d21ea1353f2b7496ae2b2d399734fd69d338f867876e695 +DIST genpatches-4.11-5.base.tar.xz 116796 SHA256 04c22c62a78cf69eb56fba64056a1aa8cff5823f92490b0b88e1294340ff711b SHA512 ab264f6f31ed06f9c657af48ec4402c327ea9c920917032eab19ec78d915fe46fe1d9d46eaf891204e8e61974ff135c2de1d1a36cfb11d7760aa030641cde010 WHIRLPOOL 95dce90b089e20331b3837c428fe23d3a728427f54abaa6a66cda9147d407c95cf359ee1287eae070a6db64252a2c40a8613227fd16fb1364014beacafdcc3e7 +DIST genpatches-4.11-5.experimental.tar.xz 106560 SHA256 21f69bf8dd8b650a8263f4dbe4651caab5f161a68796fa712b48d7871e6621f4 SHA512 093d9cf7ef3de734ca98e5650637d785e4624dad91abaadc478f530571c3eef742d4a77f8dcd4071acd0e46d89dc0ecb2ffeddd34348cf172ce63a6d353ecf4a WHIRLPOOL cecbeab2078719098ea8fe88c07f980da6051419c631a686d21ebc2c8da3ed5bcb457a36f05fc453ebbed757fce687215388b8174bf1dddd4dec79aff6e73f82 +DIST genpatches-4.11-5.extras.tar.xz 17356 SHA256 1253db807bbf0ed52f5b2aed8e629e6c4ff0ae8ee08a1c7585576b6c71ccb939 SHA512 b61a4efb99a90ca9d177521b3d093d69f41d80b287b9307915e4c6f0c82d11ccd644755f1c28a9c97e54738c6cfced870e26d05d48b84c0c9ab6548949d618a0 WHIRLPOOL a74e7daef98d211f2fb8be2a2ef6bb2d2e493069d6bbdcb141a1e8eec6f7df7e4e57a71e538ea0c6a7e6ecc90ade79d78c22485e987361b43ba8ceb694c284f6 DIST genpatches-4.8-8.base.tar.xz 157508 SHA256 36acdc91d6bbb364eb9c5ec2227766e82f0e203e434c25255965818b933a4986 SHA512 5a43e3a2dd556d7bff251eb22eb98ef7a4a673d6ed0a9f9b3bb4b63e0ebfc5d2ac16abd9d3095116202735d3a5aec7213388a48a0f28e0f721268cb360f5dd23 WHIRLPOOL 79d10ddfaad5341f70b98c5c6c0104a1a1243a6adc77a639d51d1cf911c349caf759b9744146ce3dbeab2d8bed04d59de0456ce977e41dae98a8dfcbc06e2978 DIST genpatches-4.8-8.experimental.tar.xz 91988 SHA256 6405e2eb15cd885127966db2acc926c9237304314ee63f7d9806cb41f4efbbe2 SHA512 f7a86ac88045b6163860b2d2f2857bb66f096c9cf823b32fe0f198df80fa0316ae02739c75852bf3023ca679f12f4de771aef7e2e93af4bf2ed8b451f73d40d6 WHIRLPOOL 31821f6a6d333df4d5a0c8fda36791fb3147fac5ba73c3235baefd397f6f237077bef0ba97e0c4a22a5efdcb6176c2a88d5f92c483ffda96a19208ea761fee69 DIST genpatches-4.8-8.extras.tar.xz 17232 SHA256 0ebb5b68c85a9c969b5cf6923ad4f717a7c2feec75a63488050036c1fc00eee9 SHA512 bcdcba2698f386cd626fa89f6534720e9aff578daf72324c4f7d40f27464fe0d9744a8f5a40e3edfa77de2336a5f37ece51588a5a5e91c66409543787d8154d2 WHIRLPOOL 66489a38a7e906721d659159da59aef85f11bf8616e6a8a10d73a3bcedce06981fcd29f44e9a50fceb2ee6656528e539e6993ba04d6c6b41631cdf54608b4120 DIST gentoo-armv7multi_defconfig 141107 SHA256 2d38efb49424ecc320a8ed90c9d6079d5766cbc06f00ea84202b0aa4872e5cd7 SHA512 62a0b663323d33b2cee108ac785bfaa1be6db371b1673d8809ccd2a15eb1574d59be3546736fc31bfa494683b3c14e751db48e44f9b1a3d8534d2249a9097449 WHIRLPOOL f486d52c8c896af0ac24a16d1c56b17121309051c75a77c8411bcc6eb1df996dc7f420b59c5a31590ef5e4a3ccdb89c134ee1ff7040be4d47e78459cff8ea527 DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8 +DIST linux-4.11.tar.xz 95447768 SHA256 b67ecafd0a42b3383bf4d82f0850cbff92a7e72a215a6d02f42ddbafcf42a7d6 SHA512 6610eed97ffb7207c71771198c36179b8244ace7222bebb109507720e26c5f17d918079a56d5febdd8605844d67fb2df0ebe910fa2f2f53690daf6e2a8ad09c3 WHIRLPOOL f577b7c5c209cb8dfef2f1d56d77314fbd53323743a34b900e2559ab0049b7c2d6262bda136dd3d005bc0527788106e0484e46558448a8720dac389a969e5886 DIST linux-4.8.tar.xz 91966856 SHA256 3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a SHA512 a48a065f21e1c7c4de4cf8ca47b8b8d9a70f86b64e7cfa6e01be490f78895745b9c8790734b1d22182cf1f930fb87eaaa84e62ec8cc1f64ac4be9b949e7c0358 WHIRLPOOL 3888c8c07db0c069f827245d4d7306087f78f7d03e8240eb1fcd13622cd5dbe1c17cd8ed7dc11513f77f3efd5dbd84e2b48e82bdb9b9bfd2242fd62ae32812d5 DIST patch-4.1.4-armv7-x2.diff.gz 314399 SHA256 cafd32e1bf11a7f14204d6fcecbc88f5eacb93bf5f53e63a2016465f2f3d118b SHA512 6ece3a6bafc8975cde1408f08665ab3c26490c2cb52a9b51a1e055485bc15a494d274741eef6909ff4e1182587d9d8784ad8d1ccfc9310075733ff6334c7e238 WHIRLPOOL 4f84206f491f7ccd642401cd8b391d8d45ee3592a6b2de97ce17a2e3410a227c00171bb564b1d9fe40bf2ea749acee66fda2a9336e009952c4a08659bfa6fbdb +DIST patch-4.11.3-armv7-x0.diff.xz 194728 SHA256 2681d93ba7673da8bc526e9231371cd21af5fa59e3f627990cb92c51c6cffff1 SHA512 a46bef7c75fe0bd45cb51e60aaf59ee60933c1da06732ee7ca3350ebb48e823feb65a13a6283d45244ba93477b7fc013fd324f026414a291bca6c4728be8e785 WHIRLPOOL 6b53758fcc536a678c92ffeb5d20080a36920411be287f293e89382eaea9d0719c165f7ea75403aeb3e954fd8020243082b901b62a87168b4a277f40b4bbe553 DIST patch-4.8.11-armv7-x4.diff.gz 753442 SHA256 53e09ad92732fb74c3ecab926b4561ff7f855915e3573d350d6f27da790e4369 SHA512 adbc8bbdf13d2fcc8791befabfee0b29afece09f4c27c8711a9485379d08c9c1a9faae13fd7b6d3f9321df3a9ffbd80f35279d2894fe60c900256a2bd2e3f37d WHIRLPOOL 4725b610be70d45524f5ab2185572307e3c0e49d1f9872304b02e0f1dd04d22ba2c895afd1888dcc850d64811d7a34e01d84afbab34a77850ea808056b1607d4 diff --git a/sys-kernel/armv7multi-sources/armv7multi-sources-4.11.3-r0.ebuild b/sys-kernel/armv7multi-sources/armv7multi-sources-4.11.3-r0.ebuild new file mode 100644 index 0000000..57b9fb6 --- /dev/null +++ b/sys-kernel/armv7multi-sources/armv7multi-sources-4.11.3-r0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +ETYPE="sources" +K_DEFCONFIG="gentoo-armv7multi_defconfig" +UNIPATCH_STRICTORDER="1" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="5" +K_DEBLOB_AVAILABLE="0" +K_KDBUS_AVAILABLE="1" + +inherit kernel-2 eutils +detect_version +detect_arch + +inherit versionator +MY_PR="armv7-x${PR/r/}" +EXTRAVERSION="-${MY_PR}" +MY_P="${OKV}-${MY_PR}" + +MULTI_PATCH="patch-${MY_P}.diff" +MULTI_CONFIG="defconfig" +MULTI_URI="https://rcn-ee.com/deb/xenial-armhf/v${MY_P}" +M_PATCH_URI="${MULTI_URI}/${MULTI_PATCH}.xz" +M_CONFIG_URI="${MULTI_URI}/${MULTI_CONFIG}" + +KEYWORDS="~arm" +HOMEPAGE="https://eewiki.net/display/linuxonarm/Udoo" + +DESCRIPTION="Full sources for ${OKV} kernel plus gentoo and various ARM/iMX device patches" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${GENPATCHES_URI} + imx? ( ${M_PATCH_URI} + ${M_CONFIG_URI} -> ${K_DEFCONFIG} )" + +IUSE="experimental +imx" + +K_EXTRAELOG="This is the bleeding-edge patch set on full gentoo-sources +kernel from LinuxOnArm maintainer Robert C Nelson. Intended mainly +for i.MX-based boards like Wand or Udoo (use bone-sources for building +a beaglebone kernel). A copy of the latest config has been installed as +${K_DEFCONFIG}. If you are reading this, you know what to do..." + +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-devel/patch-2.7.4" + +src_unpack() { + # need to unpack manually due to patch reqs below + use imx && unpack ${MULTI_PATCH}.xz + + kernel-2_src_unpack +} + +src_prepare() { + # We can't use unipatch or epatch here due to the git binary + # diffs that always cause dry-run errors (even with --force). + # That is okay since this is not intended for beaglebone. + + if use imx ; then + ebegin "Applying ${MULTI_PATCH}" + patch -p1 "${WORKDIR}"/${MULTI_PATCH} + eend $? || return + fi + + use imx && update_config + + default +} + +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 +} + +update_config() { + cp -f "${DISTDIR}"/${K_DEFCONFIG} "${S}"/arch/arm/configs/ \ + || die "failed to install ${K_DEFCONFIG}!" +} + |