summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-05-01 16:46:17 +0200
committerKarel Kočí <cynerd@email.cz>2017-05-01 16:47:18 +0200
commitbf72ea79bfe3c8ee209cd81456aa7f8e10dd1520 (patch)
tree696604ea52f5bbd8952bbeea128515da27afeb0d
parent4980e365ae205d89137105511de7e8858dca05b1 (diff)
downloadgentoo-personal-overlay-bf72ea79bfe3c8ee209cd81456aa7f8e10dd1520.tar.gz
gentoo-personal-overlay-bf72ea79bfe3c8ee209cd81456aa7f8e10dd1520.tar.bz2
gentoo-personal-overlay-bf72ea79bfe3c8ee209cd81456aa7f8e10dd1520.zip
Set base profile for bbb and rb2 and kernel for rb2
-rw-r--r--profiles/base/armv7a/bbb/packages (renamed from profiles/bbb-init/packages)0
-rw-r--r--profiles/base/armv7a/bbb/parent1
-rw-r--r--profiles/base/armv7a/rb2/packages1
-rw-r--r--profiles/base/armv7a/rb2/parent1
-rw-r--r--profiles/bbb-init/parent1
-rw-r--r--profiles/profiles.desc3
-rw-r--r--sys-kernel/linux-raspberry2/Manifest1
-rw-r--r--sys-kernel/linux-raspberry2/linux-raspberry2-4.10.13-r1.ebuild28
8 files changed, 34 insertions, 2 deletions
diff --git a/profiles/bbb-init/packages b/profiles/base/armv7a/bbb/packages
index cfe68c8..cfe68c8 100644
--- a/profiles/bbb-init/packages
+++ b/profiles/base/armv7a/bbb/packages
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/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}"
+}