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 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 sys-kernel/linux-bbb/linux-bbb-4.9.24.ebuild (limited to 'sys-kernel/linux-bbb') 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" +} -- cgit v1.2.3