blob: 58c22a0440692b0fe88bd54f5471e1bec26fa1d2 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# This ebuild only cares about its own FILESDIR and ebuild file, so it tracks
# the canonical empty project.
CROS_WORKON_PROJECT="chromiumos/infra/build/empty-project"
CROS_WORKON_LOCALNAME="empty-project"
inherit cros-workon
DESCRIPTION="Ebuild which pulls in any necessary ebuilds as dependencies
or portage actions."
LICENSE="BSD-Google"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
# Add dependencies on other ebuilds from within this board overlay
DEPEND=""
RDEPEND="
${DEPEND}
!<chromeos-base/chromeos-bsp-sarien-0.0.2
"
src_install() {
# All wilco devices contain an RTC in the EC that needs to
# be kept in sync with local time so that charge scheduling happens
# at the correct time. This upstart script will do that.
insinto /etc/init
doins "${FILESDIR}/wilco_sync_ec_rtc.conf"
doins "${FILESDIR}/wilco_ec_mute.conf"
}