From bf72ea79bfe3c8ee209cd81456aa7f8e10dd1520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 1 May 2017 16:46:17 +0200 Subject: Set base profile for bbb and rb2 and kernel for rb2 --- profiles/base/armv7a/bbb/packages | 1 + profiles/base/armv7a/bbb/parent | 1 + profiles/base/armv7a/rb2/packages | 1 + profiles/base/armv7a/rb2/parent | 1 + profiles/bbb-init/packages | 1 - profiles/bbb-init/parent | 1 - profiles/profiles.desc | 3 ++- sys-kernel/linux-raspberry2/Manifest | 1 + .../linux-raspberry2-4.10.13-r1.ebuild | 28 ++++++++++++++++++++++ 9 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 profiles/base/armv7a/bbb/packages create mode 100644 profiles/base/armv7a/bbb/parent create mode 100644 profiles/base/armv7a/rb2/packages create mode 100644 profiles/base/armv7a/rb2/parent delete mode 100644 profiles/bbb-init/packages delete mode 100644 profiles/bbb-init/parent create mode 100644 sys-kernel/linux-raspberry2/Manifest create mode 100644 sys-kernel/linux-raspberry2/linux-raspberry2-4.10.13-r1.ebuild diff --git a/profiles/base/armv7a/bbb/packages b/profiles/base/armv7a/bbb/packages new file mode 100644 index 0000000..cfe68c8 --- /dev/null +++ b/profiles/base/armv7a/bbb/packages @@ -0,0 +1 @@ +sys-boot/uboot_bbb diff --git a/profiles/base/armv7a/bbb/parent b/profiles/base/armv7a/bbb/parent new file mode 100644 index 0000000..eb4d905 --- /dev/null +++ b/profiles/base/armv7a/bbb/parent @@ -0,0 +1 @@ +../ diff --git a/profiles/base/armv7a/rb2/packages b/profiles/base/armv7a/rb2/packages new file mode 100644 index 0000000..011f90b --- /dev/null +++ b/profiles/base/armv7a/rb2/packages @@ -0,0 +1 @@ +sys-kernel/linux-raspberry2 diff --git a/profiles/base/armv7a/rb2/parent b/profiles/base/armv7a/rb2/parent new file mode 100644 index 0000000..eb4d905 --- /dev/null +++ b/profiles/base/armv7a/rb2/parent @@ -0,0 +1 @@ +../ diff --git a/profiles/bbb-init/packages b/profiles/bbb-init/packages deleted file mode 100644 index cfe68c8..0000000 --- a/profiles/bbb-init/packages +++ /dev/null @@ -1 +0,0 @@ -sys-boot/uboot_bbb diff --git a/profiles/bbb-init/parent b/profiles/bbb-init/parent deleted file mode 100644 index d5da088..0000000 --- a/profiles/bbb-init/parent +++ /dev/null @@ -1 +0,0 @@ -../base/armv7a diff --git a/profiles/profiles.desc b/profiles/profiles.desc index 5e42dc9..f362764 100644 --- a/profiles/profiles.desc +++ b/profiles/profiles.desc @@ -1,3 +1,4 @@ amd64 cynerd-laptop stable amd64 cynerd-pc stable -arm bbb-init stable +arm base/armv7a/bbb stable +arm base/armv7a/rb2 stable diff --git a/sys-kernel/linux-raspberry2/Manifest b/sys-kernel/linux-raspberry2/Manifest new file mode 100644 index 0000000..1a51c11 --- /dev/null +++ b/sys-kernel/linux-raspberry2/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-raspberry2/linux-raspberry2-4.10.13-r1.ebuild b/sys-kernel/linux-raspberry2/linux-raspberry2-4.10.13-r1.ebuild new file mode 100644 index 0000000..46f61ff --- /dev/null +++ b/sys-kernel/linux-raspberry2/linux-raspberry2-4.10.13-r1.ebuild @@ -0,0 +1,28 @@ +# 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}" +} -- cgit v1.2.3