blob: a18b2ca309b658b0a3617deb4eb2b0f79009faa3 [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit udev
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
DEPEND=""
RDEPEND="${DEPEND}
chromeos-base/AP6335-wifi-bin
x11-drivers/mali-rules
media-libs/media-rules
net-wireless/broadcom
chromeos-base/ec-utils
"
S=${WORKDIR}
src_install() {
# Install platform specific config files for power_manager.
insinto "/usr/share/power_manager/board_specific"
doins "${FILESDIR}"/powerd_prefs/*
# 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
# Install platform specific files to enable persist on usb3
udev_dorules "${FILESDIR}/99-rk3288-usb3-persist.rules"
# Install platform specific files to avoid wakeup system by gpio-charger
udev_dorules "${FILESDIR}/99-rk3288-gpio-charger.rules"
}