blob: 2c2e6da3f0cf8ffadf1e661ffab421d2c41e76f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# 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"
# This needs to be the COMMIT!!!!! else the git eclass is not able
# to checkout the correct branch at the given commit!
EGIT_TREE="f656a97d946a2529630c9770a72c10a24dc397f9"
EGIT_BRANCH="andy-tracking"
ETYPE="sources"
OKV="2.6.29"
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
}
|