rkchrome-kernel-3.10.30.ebuild 879 Bytes
Newer Older
ZhengShunQian's avatar
ZhengShunQian committed
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
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2

EAPI=4
EGIT_BRANCH="master"
EGIT_REPO_URI="https://github.com/rkchrome/kernel.git"
EGIT_COMMIT="715ec793226f21fa90cd4273a74842f21d5e7b8f"
CROS_WORKON_BLACKLIST="1"

# This must be inherited *after* EGIT/CROS_WORKON variables defined
inherit cros-workon cros-kernel2

DESCRIPTION="Kernel 3.10 For Rockchip RK3288"
KEYWORDS="-* arm"

DEPEND="!sys-kernel/chromeos-kernel-next
	!sys-kernel/chromeos-kernel"
RDEPEND="${DEPEND}"

src_unpack() {
	# Call git-2_src_unpack directly because cros-workon_src_unpack
	# would override EGIT_REPO_URI as CROS_GIT_HOST_URL, that is
	# https://chromium.googlesource.com
	git-2_src_unpack
}

src_configure() {
	CHROMEOS_KERNEL_CONFIG="${S}/arch/arm/configs/rockchip_chromium_defconfig"
	cros-kernel2_src_configure
}