aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven 'sleipnir' Rebhan <odinshorse@googlemail.com>2009-05-14 19:30:15 +0000
committerSven 'sleipnir' Rebhan <odinshorse@googlemail.com>2009-05-14 19:30:15 +0000
commitf8e23db9c0b8f77761dda1017700c587560efe0e (patch)
treeb2fd083e41f3b97ad072ec52456133f45a28898c /sys-kernel
parentMore depends for the xorg-server. (diff)
downloadembedded-cross-f8e23db9c0b8f77761dda1017700c587560efe0e.tar.gz
embedded-cross-f8e23db9c0b8f77761dda1017700c587560efe0e.tar.bz2
embedded-cross-f8e23db9c0b8f77761dda1017700c587560efe0e.zip
Provide new ebuild for andy-tracking kernel.
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/openmoko-sources/Manifest1
-rw-r--r--sys-kernel/openmoko-sources/openmoko-sources-20090506.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/sys-kernel/openmoko-sources/Manifest b/sys-kernel/openmoko-sources/Manifest
new file mode 100644
index 0000000..559cea4
--- /dev/null
+++ b/sys-kernel/openmoko-sources/Manifest
@@ -0,0 +1 @@
+EBUILD openmoko-sources-20090506.ebuild 1398 RMD160 45c55d366b08ca0bff3447ee468b380ee839339c SHA1 83e6b75113bb63bd0cc69b4a94248bb9e4fe6964 SHA256 7199e9c300aef6a1c9f1e6de7f4077829a5b3edd00b9a0847ca9309c6289bfb4
diff --git a/sys-kernel/openmoko-sources/openmoko-sources-20090506.ebuild b/sys-kernel/openmoko-sources/openmoko-sources-20090506.ebuild
new file mode 100644
index 0000000..b6d04d2
--- /dev/null
+++ b/sys-kernel/openmoko-sources/openmoko-sources-20090506.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="Andy-tracking kernel for Openmoko devices"
+HOMEPAGE="http://www.openmoko.org/"
+SRC_URI=""
+EGIT_REPO_URI="git://git.openmoko.org/git/kernel.git"
+EGIT_TREE="c06859b29e1921d52d58cf83b4fb132d1a43d681"
+EGIT_BRANCH="andy-tracking"
+
+ETYPE="sources"
+OKV="2.6.28"
+CKV="-${PVR}"
+
+K_NOUSENAME="yes"
+K_NOSETEXTRAVERSION="yes"
+K_SECURITY_UNSUPPORTED="yes"
+
+inherit git kernel-2 toolchain-funcs
+detect_version
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~arm"
+
+IUSE=""
+DOCS=""
+
+RDEPEND=""
+DEPEND="sys-devel/gcc
+ dev-embedded/u-boot-tools"
+
+MY_P="linux-${OKV}${CKV}"
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ # Fetch and unpack current git sources
+ git_src_unpack
+}
+
+pkg_postinst() {
+ postinst_sources
+ einfo "The kernel source is now installed in"
+ einfo " ${ROOT}/usr/src/linux."
+ einfo "Please change to this directory to configure and build the kernel."
+ einfo ""
+ einfo "To use a default kernel-configuration for your device, rename one"
+ einfo "of the defconfig-<device> files to .config"
+
+ if tc-is-cross-compiler ; then
+ ewarn ""
+ ewarn "NOTE: If you are cross-compiling you have to run"
+ ewarn " make ARCH=arm CROSS_COMPILE=${CHOST}- INSTALL_MOD_PATH=${ROOT}"
+ ewarn "instead of just"
+ ewarn " make"
+ ewarn "to configure, compile and install the kernel + modules."
+ fi
+}