blob: 915e1e969bb67241bb1e1da0d8833a41f55dfd06 [file] [log] [blame] [edit]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit appid
DESCRIPTION="Ebuild which pulls in any necessary ebuilds as dependencies
or portage actions."
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE="-variant_build"
S="${WORKDIR}"
# Add dependencies on other ebuilds from within this board overlay
RDEPEND="
chromeos-base/chromeos-bsp-baseboard-auron
chromeos-base/ec-utils
sys-kernel/linux-firmware
media-gfx/ply-image
"
DEPEND="${RDEPEND}"
src_install() {
if use !variant_build; then
doappid "{BAADD281-8816-1D16-5D83-0341376424DC}"
fi
# Install platform specific config files for power_manager.
insinto "/usr/share/power_manager/board_specific"
doins "${FILESDIR}"/powerd_prefs/*
# Wiping scripts.
dosbin "${FILESDIR}"/sbin/*.sh
insinto "/usr/share/factory/images"
doins "${FILESDIR}"/images/*.png
}