diff options
author | 2015-08-29 14:50:36 +0059 | |
---|---|---|
committer | 2015-08-29 14:50:36 +0059 | |
commit | 235a9483bdd2eca4503e5010407072453a230af4 (patch) | |
tree | a6806487471549515e53d01cfbc591b4dde08714 /sys-kernel | |
parent | Add sys-boot/raspberrypi-firmware-0.9999 (diff) | |
download | srcshelton-235a9483bdd2eca4503e5010407072453a230af4.tar.gz srcshelton-235a9483bdd2eca4503e5010407072453a230af4.tar.bz2 srcshelton-235a9483bdd2eca4503e5010407072453a230af4.zip |
Add sys-kernel/raspberrypi-sources-4.1.9999, sys-kernel/raspberrypi-sources-4.2.9999, update README.md
Diffstat (limited to 'sys-kernel')
3 files changed, 94 insertions, 0 deletions
diff --git a/sys-kernel/raspberrypi-sources/Manifest b/sys-kernel/raspberrypi-sources/Manifest new file mode 100644 index 00000000..ce34d712 --- /dev/null +++ b/sys-kernel/raspberrypi-sources/Manifest @@ -0,0 +1,2 @@ +EBUILD raspberrypi-sources-4.1.9999.ebuild 1066 SHA256 561bdb3c123318bec8217bfa5d32801a4e9f45a2bc72ad610feed3f71d9c1cfc SHA512 ddaefdbd8dc340402b8edc2a3e2e873ab736a19a2f4f6219b60541d51082f10744d4f557e6dbcf464a029db12971b60dd84fb2fe7838c19fc170abb29bfcaa0b WHIRLPOOL cb264f0fe86054ecf1423e38d2af2751cbf2f3a4049a59254b7f82ac4c41565eb206d37c4166c6ce78968950c4569770f7d4fa42b5d12cb23b9a8c2ee68ed4a4 +EBUILD raspberrypi-sources-4.2.9999.ebuild 1066 SHA256 561bdb3c123318bec8217bfa5d32801a4e9f45a2bc72ad610feed3f71d9c1cfc SHA512 ddaefdbd8dc340402b8edc2a3e2e873ab736a19a2f4f6219b60541d51082f10744d4f557e6dbcf464a029db12971b60dd84fb2fe7838c19fc170abb29bfcaa0b WHIRLPOOL cb264f0fe86054ecf1423e38d2af2751cbf2f3a4049a59254b7f82ac4c41565eb206d37c4166c6ce78968950c4569770f7d4fa42b5d12cb23b9a8c2ee68ed4a4 diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.1.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.1.9999.ebuild new file mode 100644 index 00000000..457d545e --- /dev/null +++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.1.9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE=sources +K_SECURITY_UNSUPPORTED=1 +inherit kernel-2 +detect_version +detect_arch + +inherit git-2 versionator +IUSE="-rpi1 +rpi2" +EGIT_REPO_URI=https://github.com/raspberrypi/linux.git +EGIT_PROJECT="raspberrypi-linux.git" +EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y" +EGIT_CLONE_TYPE="shallow" + +DESCRIPTION="Raspberry Pi kernel sources" +HOMEPAGE="https://github.com/raspberrypi/linux" + +KEYWORDS="arm" + +pkg_setup() { + if use rpi1 && use rpi2; then + eerror "It is not possible to specify USE=\"rpi1 rpi2\" - please choose one" + eerror "architecture only." + die "Cannot build for RPi and RPi2 simultaneously" + fi + + if use rpi2; then + export K_DEFCONFIG="bcm2709_defconfig" + export EXTRAVERSION="-rpi2/-*" + elif use rpi1; then + export K_DEFCONFIG="bcmrpi_defconfig" + export EXTRAVERSION="-rpi/-*" + else + die "One of USE=\"rpi1\" or USE=\"rpi2\" must be selected." + fi +} + +src_unpack() { + git-2_src_unpack + unpack_set_extraversion +} diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.2.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.2.9999.ebuild new file mode 100644 index 00000000..457d545e --- /dev/null +++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.2.9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +ETYPE=sources +K_SECURITY_UNSUPPORTED=1 +inherit kernel-2 +detect_version +detect_arch + +inherit git-2 versionator +IUSE="-rpi1 +rpi2" +EGIT_REPO_URI=https://github.com/raspberrypi/linux.git +EGIT_PROJECT="raspberrypi-linux.git" +EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y" +EGIT_CLONE_TYPE="shallow" + +DESCRIPTION="Raspberry Pi kernel sources" +HOMEPAGE="https://github.com/raspberrypi/linux" + +KEYWORDS="arm" + +pkg_setup() { + if use rpi1 && use rpi2; then + eerror "It is not possible to specify USE=\"rpi1 rpi2\" - please choose one" + eerror "architecture only." + die "Cannot build for RPi and RPi2 simultaneously" + fi + + if use rpi2; then + export K_DEFCONFIG="bcm2709_defconfig" + export EXTRAVERSION="-rpi2/-*" + elif use rpi1; then + export K_DEFCONFIG="bcmrpi_defconfig" + export EXTRAVERSION="-rpi/-*" + else + die "One of USE=\"rpi1\" or USE=\"rpi2\" must be selected." + fi +} + +src_unpack() { + git-2_src_unpack + unpack_set_extraversion +} |