chromeos-bsp-veyron-0.0.1.ebuild 1.11 KB
Newer Older
ZhengShunQian's avatar
ZhengShunQian committed
1
2
3
4
5
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2

EAPI=4

6
7
inherit udev

ZhengShunQian's avatar
ZhengShunQian committed
8
9
10
11
12
13
14
15
DESCRIPTION="Veyron bsp (meta package to pull in driver/tool dependencies)"

LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="-* arm"
IUSE=""

# Add dependencies on other ebuilds from within this board overlay
16
17
18
19
DEPEND=""
RDEPEND="${DEPEND}
	chromeos-base/AP6335-wifi-bin
	x11-drivers/mali-rules
20
	media-libs/media-rules
21
	net-wireless/broadcom
22
	chromeos-base/ec-utils
23
"
24
25
26
27
28
29

S=${WORKDIR}

src_install() {
	# Install platform specific config files for power_manager.
	insinto "/usr/share/power_manager/board_specific"
30
	doins "${FILESDIR}"/powerd_prefs/*
31
32
33
34
35
36

	# Install platform specific files for bcm4354 bluetooth.
	insinto "/etc/init"
	doins "${FILESDIR}"/brcm_patchram_plus.conf
	insinto "/etc/modprobe.d"
	doins "${FILESDIR}"/blacklist-btsdio.conf
37

38
39
	# Install platform specific files to enable persist on usb3
	udev_dorules "${FILESDIR}/99-rk3288-usb3-persist.rules"
40
41
	# Install platform specific files to avoid wakeup system by gpio-charger
	udev_dorules "${FILESDIR}/99-rk3288-gpio-charger.rules"
42
}