summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-bbb
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/linux-bbb')
-rw-r--r--sys-kernel/linux-bbb/linux-bbb-4.9.24.ebuild36
1 files changed, 36 insertions, 0 deletions
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"
+}