summaryrefslogtreecommitdiff
blob: beb8ea83b376b9ce15187f56686d0f0e5cd9d025 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

ETYPE="sources"
K_SECURITY_UNSUPPORTED="1"
K_DEBLOB_AVAILABLE=0
# If these are not set, you will get weird behavior from kernel-2, due to the
# huge $PV that is used otherwise.
#CKV='2.6.99'

RESTRICT="binchecks strip primaryuri mirror"

EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git"
EGIT_BRANCH="drm-next"

inherit kernel-2 git
detect_version

DESCRIPTION="Full sources for the Linux kernel drm-next branch"
HOMEPAGE="http://www.kernel.org"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

pkg_setup(){
	kernel-2_pkg_setup
}

src_install() {
	sed -e 's/^EXTRAVERSION =$/EXTRAVERSION = -drm-next/' "${S}"/Makefile -i || die "sed failed"
	kernel-2_src_install
}