blob: cee88321746bf938ba6a41a0736874fc94f2911e [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="96e7f0e6034ed1364d60447a6a47fd44dfea033f"
CROS_WORKON_TREE="5e8031c05cbdb804dcc9f6b4bdcbf4a156af2c70"
CROS_WORKON_PROJECT="chromiumos/third_party/coreboot"
DESCRIPTION="lp0 resume blob for Tegra"
HOMEPAGE="http://www.coreboot.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="arm"
IUSE=""
RDEPEND=""
DEPEND=""
CROS_WORKON_LOCALNAME="coreboot"
inherit cros-workon
src_compile() {
emake -C src/soc/nvidia/tegra124/lp0 \
GCC_PREFIX="${CHOST}-" || \
die "tegra_lp0_resume build failed"
}
src_install() {
insinto /lib/firmware/tegra12x/
doins src/soc/nvidia/tegra124/lp0/tegra_lp0_resume.fw
}