diff options
author | Karel Kočí <cynerd@email.cz> | 2017-05-02 18:11:26 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-05-02 18:11:26 +0200 |
commit | 6324d303ab19382a91d5e8ca66bb7553a99acaba (patch) | |
tree | 93a1f0569738b7eb98a6891c41176adba530cb97 /sys-kernel/linux-bbb | |
parent | c5a3c05835fde8f751b1d37039e5bfd672fbe392 (diff) | |
download | gentoo-personal-overlay-6324d303ab19382a91d5e8ca66bb7553a99acaba.tar.gz gentoo-personal-overlay-6324d303ab19382a91d5e8ca66bb7553a99acaba.tar.bz2 gentoo-personal-overlay-6324d303ab19382a91d5e8ca66bb7553a99acaba.zip |
Add bbb kernel
Diffstat (limited to 'sys-kernel/linux-bbb')
-rw-r--r-- | sys-kernel/linux-bbb/linux-bbb-4.9.24.ebuild | 36 |
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" +} |