From 6324d303ab19382a91d5e8ca66bb7553a99acaba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 2 May 2017 18:11:26 +0200 Subject: Add bbb kernel --- sys-kernel/linux-bbb/linux-bbb-4.9.24.ebuild | 36 ++++++++++++++++++++++ sys-kernel/linux-raspberry2/Manifest | 1 - .../linux-raspberry2-4.10.13-r1.ebuild | 28 ----------------- sys-kernel/linux-rb2/Manifest | 1 + .../linux-rb2/linux-raspberry2-4.10.13-r1.ebuild | 27 ++++++++++++++++ 5 files changed, 64 insertions(+), 29 deletions(-) create mode 100644 sys-kernel/linux-bbb/linux-bbb-4.9.24.ebuild delete mode 100644 sys-kernel/linux-raspberry2/Manifest delete mode 100644 sys-kernel/linux-raspberry2/linux-raspberry2-4.10.13-r1.ebuild create mode 100644 sys-kernel/linux-rb2/Manifest create mode 100644 sys-kernel/linux-rb2/linux-raspberry2-4.10.13-r1.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/linux-bbb/linux-bbb-4.9.24.ebuild b/sys-kernel/linux-bbb/linux-bbb-4.9.24.ebuild new file mode 100644 index 0000000..e1b34fe --- /dev/null +++ b/sys-kernel/linux-bbb/linux-bbb-4.9.24.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +GIT_REV="1b71b361146507b1e0c7922d05deb9164382ca66" + +DESCRIPTION="Linux kernel" +HOMEPAGE="http://kernel.org/" +SRC_URI="https://codeload.github.com/beagleboard/linux/zip/${GIT_REV} -> ${P}.zip" +S="${WORKDIR}/linux-${GIT_REV}" + +LICENSE="GPLv2" +SLOT="0" +KEYWORDS="-* arm" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_configure() { + emake bb.org_defconfig +} + +src_compile() { + emake uImage dtbs modules LOADADDR=0x82000000 +} + +src_install() { + emake modules_install INSTALL_MOD_PATH="${D}" + + dodir /boot + insinto /boot + doins "${S}/arch/arm/boot/zImage" + doins "arch/arm/boot/dts/am335x-boneblack.dtb" +} diff --git a/sys-kernel/linux-raspberry2/Manifest b/sys-kernel/linux-raspberry2/Manifest deleted file mode 100644 index 1a51c11..0000000 --- a/sys-kernel/linux-raspberry2/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST linux-raspberry2-4.10.13.tar.gz 185821682 SHA256 51a79ee43ed049f59f9ac37f2f57beecff189e36785eda7500f5221e8698c4e1 SHA512 aa78bf43526640f40db9c4f860d3996a264a53c6ae06340c71a0cdcbd9487f6aaf2abba58ad7d00b7ed7627040ec64334c9224ff2a36ccfba417abec25bf874d WHIRLPOOL 9a12be0aafe903b3d737c01c476adf872ea55e2f6c8d4eaf16bdef8bd2b75626c81236b60b6bb83cce1dfa2dcef7b3dd718d8fa2199dfd7991767fe4634a4457 diff --git a/sys-kernel/linux-raspberry2/linux-raspberry2-4.10.13-r1.ebuild b/sys-kernel/linux-raspberry2/linux-raspberry2-4.10.13-r1.ebuild deleted file mode 100644 index 46f61ff..0000000 --- a/sys-kernel/linux-raspberry2/linux-raspberry2-4.10.13-r1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -GIT_REV="b957be36d793c59c5a12d1f00419c253d38dde1f" - -DESCRIPTION="Linux kernel" -HOMEPAGE="http://kernel.org/" -SRC_URI="https://codeload.github.com/raspberrypi/linux/zip/${GIT_REV}.zip -> ${P}.zip" -S="${WORKDIR}/linux-${GIT_REV}" - -LICENSE="GPLv2" -SLOT="0" -KEYWORDS="-* arm" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND}" - -src_configure() { - emake bcm2709_defconfig - emake oldconfig -} - -src_install() { - emake zinstall modules_install dtbs_install INSTALL_PATH="${D}" INSTALL_MOD_PATH="${D}" -} diff --git a/sys-kernel/linux-rb2/Manifest b/sys-kernel/linux-rb2/Manifest new file mode 100644 index 0000000..1a51c11 --- /dev/null +++ b/sys-kernel/linux-rb2/Manifest @@ -0,0 +1 @@ +DIST linux-raspberry2-4.10.13.tar.gz 185821682 SHA256 51a79ee43ed049f59f9ac37f2f57beecff189e36785eda7500f5221e8698c4e1 SHA512 aa78bf43526640f40db9c4f860d3996a264a53c6ae06340c71a0cdcbd9487f6aaf2abba58ad7d00b7ed7627040ec64334c9224ff2a36ccfba417abec25bf874d WHIRLPOOL 9a12be0aafe903b3d737c01c476adf872ea55e2f6c8d4eaf16bdef8bd2b75626c81236b60b6bb83cce1dfa2dcef7b3dd718d8fa2199dfd7991767fe4634a4457 diff --git a/sys-kernel/linux-rb2/linux-raspberry2-4.10.13-r1.ebuild b/sys-kernel/linux-rb2/linux-raspberry2-4.10.13-r1.ebuild new file mode 100644 index 0000000..8c7fbde --- /dev/null +++ b/sys-kernel/linux-rb2/linux-raspberry2-4.10.13-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +GIT_REV="b957be36d793c59c5a12d1f00419c253d38dde1f" + +DESCRIPTION="Linux kernel" +HOMEPAGE="http://kernel.org/" +SRC_URI="https://codeload.github.com/raspberrypi/linux/zip/${GIT_REV}.zip -> ${P}.zip" +S="${WORKDIR}/linux-${GIT_REV}" + +LICENSE="GPLv2" +SLOT="0" +KEYWORDS="-* arm" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_configure() { + emake bcm2709_defconfig +} + +src_install() { + emake zinstall modules_install dtbs_install INSTALL_PATH="${D}" INSTALL_MOD_PATH="${D}" +} -- cgit v1.2.3